[pulseaudio-discuss] 98766: Bug and bounty to improve HDMI handling in PA

Felipe Sateler fsateler at debian.org
Tue Sep 20 13:36:09 UTC 2016


On 19 September 2016 at 15:00, Manuel Amador (Rudd-O) <rudd-o at rudd-o.com> wrote:

> I believe that there's a good compromise to be made:
>
> 1. if PulseAudio ('s D-Bus session) is tied to a GUI session in X11 or
> Wayland,

It appears the world is moving towards per-user daemons from the
per-session model. This means this part may not be valid. However, a
different solution might be to use the logind api[1] to determine if
there is any graphical session by the current user attached to the
seat corresponding to the hdmi device (this can be obtained via the
ID_SEAT udev property, or seat0 as fallback).

[1] https://www.freedesktop.org/wiki/Software/systemd/logind/

-- 

Saludos,
Felipe Sateler


More information about the pulseaudio-discuss mailing list