How to find out if the sink chosen by autoaudiosink supports GstStreamVolume.?
Sebastian Dröge
sebastian at centricular.com
Wed Feb 24 13:56:02 UTC 2016
On Di, 2016-02-23 at 20:10 -0800, gyunaev wrote:
> Thank you Sebastian. This creates an interesting issue: apparently I have to
> run (PAUSED at least) the pipeline to find out whether the sink has volume
> control, which also means I cannot create "volume" element until
> no-more-pads is emitted.
Yes, autoaudiosink is only adding its internal elements once you start
them up.
> Is there a reference of which GStreamer functions take significant time? For
> example, creatting elements, setting the pipeline state, initializing
> GStreamer - is it necessary to run those in a separate thread, or they could
> be run in GUI thread and then gst_element_set_state( pipeline, PAUSED ) will
> start as many threads internally as needed?
You can run all those on your UI threads, yes. In theory none of them
should take significant time, if any does it should be fixed.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160224/76543e21/attachment.sig>
More information about the gstreamer-devel
mailing list