From: Takashi Iwai Subject: Re: Problem with alsa in 2.5.33 and xmms using oss emulation Date: Fri, 13 Sep 2002 12:32:02 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3D7D59FB.40204@attbi.com> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id MAA18515 for ; Fri, 13 Sep 2002 12:32:05 +0200 In-Reply-To: <3D7D59FB.40204@attbi.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Jordan Breeding Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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