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

Daniel Wagner wagi at monom.org
Sun Nov 5 15:43:07 EST 2006


>> 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



More information about the Linux-audio-user mailing list