[gstreamer-bugs] [Bug 478512] [alsamixer] volume control slider not working
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Feb 10 02:02:57 PST 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=478512
GStreamer | gst-plugins-base | Ver: git
Sebastian Dröge changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #127879|0 |1
is obsolete| |
Attachment #127882|none |committed
Flag| |
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.10.23
------- Comment #40 from Sebastian Dröge 2009-02-10 10:02 UTC -------
commit fc23037a9aaf0beca99f9494948b2fb1169a03db
Author: Antoine Tremblay <hexa00 at gmail.com>
Date: Tue Feb 10 11:00:12 2009 +0100
alsamixer: Fix race condition that made alsamixer not working properly
This is due to race conditions between functions that
modified the mixer like set_volume and
snd_mixer_handle_events since the handle_events
can now be called at any time.
Fixed by adding locking around any snd_mixer call
since even read functions can modify the mixer stucture, since
alsa likes to clear it's values before reading new ones.
The favorite race condition seemed to be that set_volume
called read_elem (in alsalib) that reset the volumes to
0 and then read them with read_x_volume. This read looped
on each channel and as the race condition occured the
channels value could be anything , most of the time
it was 0. Thus no value was read or only the value of
one channel was and the volume was reset to 0.
Fixes bug #478512.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=478512.
More information about the Gstreamer-bugs
mailing list