After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 137307 - alsamixer element and the mixer applet
alsamixer element and the mixer applet
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: mixer
git master
Other Linux
: Normal major
: ---
Assigned To: gnome-applets Maintainers
GStreamer Maintainers
: 136654 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-03-15 23:31 UTC by Jan Schmidt
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to round to nearest representative value (1.24 KB, patch)
2004-03-16 04:28 UTC, Jan Schmidt
none Details | Review

Description Jan Schmidt 2004-03-15 23:31:41 UTC
I'm not quite sure what the difference in the elements is, but when the
gnome mixer_applet uses ossmixer, the volume control is fine. When using
alsamixer, the mixer_applet constantly decreases the volume, about one
notch per second.

It seems like the mixer_applet sets the volume then reads it back, but it
reads it back as (n-1) to the (n) it set.. so it sets the volume to (n-1)
and reads it back as (n-2), etc.

The gnome_volume_control application seems to work fine, it's just the
mixer applet.

How does one debug a panel applet? I don't know how to get access to stdout
or to run it with different gst-debug flags
Comment 1 Jan Schmidt 2004-03-16 04:27:54 UTC
Attaching a patch that makes the mixer applet round to the nearest
representative value for slider<->mixer conversions instead of always
rounding down.
Comment 2 Jan Schmidt 2004-03-16 04:28:51 UTC
Created attachment 25685 [details] [review]
Patch to round to nearest representative value
Comment 3 Kevin Vandersloot 2004-03-16 14:03:30 UTC
Thanks for the patch. The way to debug is to run the applet binary
from the command line, and then add it to the panel using the usual
right click menu on the panel.
Comment 4 Tomas Mraz 2004-04-25 18:13:29 UTC
*** Bug 136654 has been marked as a duplicate of this bug. ***
Comment 5 Kevin Vandersloot 2004-04-25 18:37:12 UTC
Patch applied. Thanks a lot Jan! This will be in 2.6.1