Chose audio device

Tim-Philipp Müller t.i.m at
Wed Feb 15 18:07:48 UTC 2023

On Wed, 2023-02-15 at 15:43 +0000, Miguel Leão via gstreamer-devel


> 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

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list