How to set a volume property in audiomixer's sink pads?
Natanael Mojica
neithanmo at gmail.com
Fri Jun 3 03:10:55 UTC 2016
Thanks Michael
I tried your recomendation but that not work, example:
GObject *pad
=G_OBJECT(gst_element_get_static_pad(audiomixer,
sink.toUtf8().constData()));
then:
g_object_set(pad, "volume", x,NULL);
and in running time I get this error:
g_object_set: assertion 'G_IS_OBJECT (object)' failed
and if in another way:
g_object_set(gst_element_get_static_pad(audiomixer,
sink.toUtf8().constData()), "volume", x , NULL);
dont work ., getting same error message
So, whats is the correct way to do that??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160602/15c8e235/attachment.html>
More information about the gstreamer-devel
mailing list