<html><head>

<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr"><div>On Wed, 2023-02-15 at 15:43 +0000, Miguel Leão via gstreamer-devel wrote:</div><div><br></div><div>Hi,</div><div><br></div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">I have a computer with 4 HDMI outputs, and I want to chose from which to play audio. How can I do that?</div></blockquote><div><br></div><div>A generic way to list available audio devices is the GstDeviceMonitor API.</div><div><br></div><div>You can check the available devices you would get with that via</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">       </span><font face="monospace">gst-device-monitor-1.0 Audio/Sink</font></div><div><br></div><div>and the output should also contain something you can paste into a gst-launch pipeline.</div><div><br></div><div>In an application you would use <font face="monospace">gst_device_create_element()</font> instead on a device that you get via the device monitor API.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><div><br></div><div>Cheers</div><div> Tim</div><div><span></span></div></body></html>