[gstreamer-bugs] [Bug 441552] [alsa] can not set Default Mixer Tracks to track on second sound card

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun May 27 13:08:33 PDT 2007


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=441552

  GStreamer | gst-plugins-base | Ver: 0.10.x




------- Comment #4 from Tim-Philipp Müller  2007-05-27 20:08 UTC -------
The code in

http://svn.gnome.org/viewcvs/gnome-control-center/trunk/gnome-settings-daemon/actions/acme-volume-gstreamer.c?view=annotate

doesn't really look entirely right, if I read it correctly.

In particular, lines 298 and 310, where the mixer/element is _first_ set to
STATE_READY and only then the "device" property is set. I think it should be
the other way around. The "device" property should be set _before_ putting the
mixer in READY state (which effectively opens the handle for the device). Along
the same lines, you need to set the state to NULL if you want to switch the
device (didn't check what the code does here).


-- 
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=441552.




More information about the Gstreamer-bugs mailing list