[Pipewire-devel] Sound output dependent on graphical user interface

George Kiagiadakis mail at gkiagia.gr
Wed Jan 6 10:50:59 UTC 2021


Hi,

Sorry, this is not possible at the moment. Such a feature could be implemented by the session manager in the future, but it's not trivial. The session manager will need to query the graphics compositor for information about which display contains the main window of the application (not sure if this information is exposed, btw) and also associate each display with each sound device somehow (not entirely trivial to do this automatically). If you are interested in researching this further, I am sure it would be a welcome addition.

A very similar request was also made here: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/408

Best regards,
George

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, December 31st, 2020 at 18:11, Ettore Atalan <atalanttore at gmail.com> wrote:

> Hi,
>
> I have several monitors with built-in speakers and a program with a graphical user interface that outputs sound.
>
> Can PipeWire automatically output the sound to the built-in speakers of the monitor where most of the graphical user interface is located?
>
> Regards,
>
> Ettore Atalan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pipewire-devel/attachments/20210106/fdb881ff/attachment.htm>


More information about the Pipewire-devel mailing list