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

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Tue Sep 20 12:58:13 UTC 2016


On 09/19/2016 06:00 PM, Manuel Amador (Rudd-O) wrote:
> 1. if PulseAudio ('s D-Bus session) is tied to a GUI session in X11 or
> Wayland,
> 4. and there is a spec-compliant screen saver on the same D-Bus session
> bus (GNOME's or KDE's, for example),
> 2. and at least one audio stream is playing to a sink, which has the
> HDMI profile selected (we will call this a "qualifying stream"),
> 5. then it may be plausible to use D-Bus messages to delay screen saving
> until all qualifying streams pause or stop playback.
>

The relevant D-Bus APIs to inhibit and uninhibit screen saving are:

method uint org.freedesktop.ScreenSaver.Inhibit(string application_name,
string reason_for_inhibit)
and uninhibit()

under org.freedesktop.ScreenSaver /ScreenSaver


-- 
    Rudd-O
    http://rudd-o.com/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160920/1eb40b9c/attachment.sig>


More information about the pulseaudio-discuss mailing list