[gst-devel] issue on gstreamer control
Ronald S. Bultje
rbultje at ronald.bitfreak.net
Fri Nov 4 14:59:57 CET 2005
[please CC the list]
On Fri, 2005-11-04 at 14:52 -0800, rong wang wrote:
> I go over the osssink myself. I cannot find the
> properties that I can set volume level, I only see
> mute, sync etc in gst-plugins-0.8.11.
It's not a property; it's an interface!
GstElement *sink = ..;
GstMixer *mixer = GST_MIXER (sink);
GList *channels = gst_mixer_get_channel_list (mixer), *item;
for (item = channels; item != NULL; item = item->next) {
GstMixerChannel *c = item->data;
//.. etc
}
There's some example code in the gst-sandbox, or look at
gnome-volume-control in gnome-media (gnome cvs).
cheers,
Ronald
More information about the gstreamer-devel
mailing list