Re: Re: Help me set the volume for Freebob, please!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux