[gstreamer-bugs] [Bug 570378] Weird bus messages after calling gst_mixer_set_volume()

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Feb 3 07:26:03 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=570378

  GStreamer | gst-plugins-base | Ver: 0.10.21




------- Comment #1 from Jannis Pohlmann  2009-02-03 15:26 UTC -------
Created an attachment (id=127849)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=127849&action=view)
Test application which makes the bug visible

This is an test application for scenario 1 which controls the ALSA PCM track. 
The GtkRange controls the volume of all channels at the same time (it always
sets them to the same value). It does not interfere with the GstBus. It does
not update its own value when there are bus messages.
There is a label for each channel of the PCM track. These labels are only
changed by volume change bus messages. 
Now, if you keep adjusting the scale for a while you will notice that at some
point, these labels will contain values like "CH 0: 0" and "CH 1: 15", which
means that GStreamer has dropped the first channel to zero. But the GtkScale
always sets the same volume for all channels.

The program can be compiled with:
gcc -o test test.c `pkg-config --cflags --libs gstreamer-plugins-base-0.10`
`pkg-config --cflags --libs gtk+-2.0` -lgstaudio-0.10 -lgstinterfaces-0.10


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




More information about the Gstreamer-bugs mailing list