Chose audio device
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed Feb 15 18:07:48 UTC 2023
On Wed, 2023-02-15 at 15:43 +0000, Miguel Leão via gstreamer-devel
wrote:
Hi,
> I have a computer with 4 HDMI outputs, and I want to chose from which
> to play audio. How can I do that?
A generic way to list available audio devices is the GstDeviceMonitor
API.
You can check the available devices you would get with that via
gst-device-monitor-1.0 Audio/Sink
and the output should also contain something you can paste into a gst-
launch pipeline.
In an application you would use gst_device_create_element() instead on
a device that you get via the device monitor API.
Cheers
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230215/d79f8c78/attachment.htm>
More information about the gstreamer-devel
mailing list