At Mon, 09 Sep 2002 21:33:31 -0500,
Jordan Breeding wrote:
> 
> Hello,
> 
>    I wrote in quite a while back and have tried talking to the xmms 
> developers about this but they insist that their must be a bug in my 
> hardware or the driver I am using.  My problem is that using alsa as the 
> built in kernel sound driver for my SBLive! instead of the oss style 
> sound driver I can not control the volume level through the mixer using 
> xmms.  The setup is as follows:  build the alsa driver for emu10k1 
> directly into the kernel, enable oss emulation, use the oss output 
> driver for xmms and enable "use volume instead of pcm".  If I then try 
> to use the arrow keys on my keyboard of the scroll wheel on my mouse the 
> volume mixer will get stuck in the xmms window in certain ranges 
> (usually no more than 15 units total).  If I use my mount to drag the 
> volume slider out of the range in question it will work again but will 
> now be stuck in a new range.  Alsa seems to work well with everything 
> else I have that uses oss besides xmms.  I do not know honestly which 
> had the bug and which doesn't but they don't seem to care to much about 
> listening to a bug report from me through email or over their message 
> board.  Maybe someone on this list knows of a fix, can fix it, or can 
> make the xmms people listen?  I sure hope so, thanks for the great sound 
> drivers.

fixed on cvs.  please update the driver.

this was due to the difference of mixer volume resolution.

master volume on sb live has only 5-bit resolution, i.e. from 0 to 31,
while oss requires to convert it to the range from 0 to 100.
since xmms closes the mixer device instantly after reading/writing and
alsa driver resets the value at each time converted from the native
value, the value was mismatched.
now the current value is kept persistently.


thanks,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to