Re: [linux-audio-user] Re: Help me set the volume for Freebob, please!

From: Daniel Wagner <wagi@email-addr-hidden>
Date: Sun Nov 05 2006 - 22:43:07 EET

>> seem extremely eager to get something I'll try to look into it asap. But
>
> I should mention: Volume control for the first input channel would be
> enough to get me started.

I have check in on the trunk a test command which is suppose to set the
volume. I haven't tested it completely since I'm tired and my head
starts to hurt...

Anyway you don't have to install the 1.4.0 version just do following to
set the volume:

0) download trunk/libfreebob
1) compile libfreebob
2) cd libfreebob/tests
3) export LD_LIBRARY_PATH=../src/.libs (assuming you are using a bash)
4) ./test_volume 0 1 200

argument 1: device id
argument 2: feature function block. 1=input1/2, 2=input3/4 ...
argument 3: volume. the range is 0x0000 = 0.0000 dB, 0x7ffe=127.9922dB

hope that helps.

cheers,
daniel
Received on Mon Nov 6 00:15:01 2006

This archive was generated by hypermail 2.1.8 : Mon Nov 06 2006 - 00:15:01 EET