GNOME Bugzilla – Bug 139961
Gnome-2.6 sound-mixer-applet climbs down the ladder
Last modified: 2004-12-22 21:47:04 UTC
When I set the volume with the sound-mixer-applet, it slowly climbs down until hits the bottom. If i set it to max then it stays. I have installed gnome-applets-2.6.0 and I use Alsa-1.0.2 Sound works okay, and it gets louder and more silent when I move the volume-slider of the applet. I use gnome-applets-2.6.0
Hmm. This happens after moving the slider to a certain level and just leaving it there? Sounds like you have problems with a moving mouse pointer or something and that focus is still on the slider? Does it happen if you focus some other app after setting the level? Do you have a stuck down arrow on your keyboard maybe? :-) Anyway, more detail on your setup would be appreciated.
*** Bug 139550 has been marked as a duplicate of this bug. ***
See my bug. It happens when the OSS mixer compatibility is not loaded, so only the Alsa mixer is running. Essentially, if you set the popup volume control to maximum, over the next 10-15 seconds it will be at 0. The same volume slider in the mixer window itself is not affected. This has nothing to do with input devices.
I am using Dropline gnome 2.6 and I have the same pb. However, this only shows up when my preferences are set to use 'Master'. If I set to 'Volume', or anything else I believe, it stays still and work properly.
Yes, this is a problem with the master volume only. The applet is not talking to alsa properly. The control panel does it okay.
Created attachment 27612 [details] [review] Fixes a nasty rounding error within the gst part of the code There appears to be an off-by-3-or-4 bug in the return value of gstreamer_normalize_volume. Can you say rounding error? All of the doubles are cast straight to gint (truncating) -- this is a Bad Thing, because the rounding always goes down. We need to be using ``(gint) rint(double)''. I don't know how portable rint() is, but that is exactly what we need -- a round that rounds to the *nearest even integer*, otherwise we can get this ladder creep in the other direction (always rounding up.) The underlying problem is that we are mapping between different integer scales, and we are loosing a lot in the translation. We should -not- be using the output of our own lossy calculations to try and get the original input back (which is what we are doing here).
This should be fixed in 2.6.1 I think. Can you guys test with the newer version?
I use gnome-applets-2.6.1 now and the problem is fixed the leveler stays where it is set to be. Also I have only enabled ALSA, no OSS interface stuff.
Thanks for reporting back! Did you have OSS interface stuff enabled at the time when you were reporting the bug ? Kevin what about the patch that is done by Travis ?
NP, No I did not have OSS interface enabled.
In that case, thanks for reporting back, and i think we can close this bug! I leave it open because of the patch that Travis has been attaching, Kevin needs to look at it.
Yah, the same patch was applied in any other bug. Closing
*** Bug 146173 has been marked as a duplicate of this bug. ***