alsamixer and short slider
I have a capture volume slider that goes from 3 to 28, but alsamixer totally buggers up with it and only displays 0,5,8,11 and 14 or something.
Is this a known bug? What should I do to fix it?
johannes
At Thu, 11 May 2006 16:48:45 +0200,
Quoted 6 lines · Johannes Berg
I have a capture volume slider that goes from 3 to 28, but alsamixer totally buggers up with it and only displays 0,5,8,11 and 14 or something.
Is this a known bug? What should I do to fix it?
alsamixer shows the volume in percent. Isn't it the case?
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 10 lines · Takashi Iwai
At Thu, 11 May 2006 16:48:45 +0200,
Quoted 6 lines · Johannes Berg
I have a capture volume slider that goes from 3 to 28, but alsamixer totally buggers up with it and only displays 0,5,8,11 and 14 or something.
Is this a known bug? What should I do to fix it?
alsamixer shows the volume in percent. Isn't it the case?
Well, it tries to, but like I said, I cannot select anything but 0, 4, 7, 11 and 14, but for a range of 3..28 it should be selecting approximately every 4 items from 0 to 100.
johannes
At Thu, 11 May 2006 17:17:43 +0200,
Quoted 9 lines · Johannes Berg
Quoted 7 lines · Takashi Iwai
At Thu, 11 May 2006 16:48:45 +0200,
Quoted 5 lines · Johannes Berg
I have a capture volume slider that goes from 3 to 28, but alsamixer totally buggers up with it and only displays 0,5,8,11 and 14 or something.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Is this a known bug? What should I do to fix it?
alsamixer shows the volume in percent. Isn't it the case?
Well, it tries to, but like I said, I cannot select anything but 0, 4, 7, 11 and 14, but for a range of 3..28 it should be selecting approximately every 4 items from 0 to 100.
Sounds like the minimum value 3 isn't handled properly but assumed the range 0-28.
Does amixer work as expected?
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Quoted 6 lines · Takashi Iwai
Quoted 3 lines
Well, it tries to, but like I said, I cannot select anything but 0, 4, 7, 11 and 14, but for a range of 3..28 it should be selecting approximately every 4 items from 0 to 100.
Sounds like the minimum value 3 isn't handled properly but assumed the range 0-28.
No not really, if I turn it down all the way it sets it to 3. I'm inclined to believe that there's a rounding error, but the numbers are all large enough. Not sure.
Quoted 1 line
Does amixer work as expected?
Yes, I think so.
johannes
Quoted 6 lines · Takashi Iwai
Quoted 3 lines
Well, it tries to, but like I said, I cannot select anything but 0, 4, 7, 11 and 14, but for a range of 3..28 it should be selecting approximately every 4 items from 0 to 100.
Sounds like the minimum value 3 isn't handled properly but assumed the range 0-28.
Not sure, but if I actually translate the range from 3..28 to 0..25 in the kernel module, it works well. But that's not how it should be.
Quoted 1 line
Does amixer work as expected?
As I said before, yes, it does indeed.
Side note: most programs I've tried don't handle ranges where the start or both start and end are negatiive ... I feel like I'm going to have to educate dozens of alsa software writers or just cave in and translate the ranges in the kernel...
johannes