All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with alsa in 2.5.33 and xmms using oss emulation
@ 2002-09-10  2:33 Jordan Breeding
  2002-09-13 10:32 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Jordan Breeding @ 2002-09-10  2:33 UTC (permalink / raw)
  To: alsa-devel

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.

Jordan



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with alsa in 2.5.33 and xmms using oss emulation
  2002-09-10  2:33 Problem with alsa in 2.5.33 and xmms using oss emulation Jordan Breeding
@ 2002-09-13 10:32 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-09-13 10:32 UTC (permalink / raw)
  To: Jordan Breeding; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-13 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-10  2:33 Problem with alsa in 2.5.33 and xmms using oss emulation Jordan Breeding
2002-09-13 10:32 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.