[pulseaudio-discuss] [PATCH] Run a user specified program on suspend/resume.

Joonas Govenius joonas.govenius at gmail.com
Wed Dec 9 00:15:29 PST 2015


On Tue, Dec 8, 2015 at 3:26 PM Tanu Kaskinen wrote:

> By the way, why does this functionality need to be in the daemon?
> Clients can monitor the device state, so why not trigger the script
> from client side?
>

Good point. This seems like a better idea, assuming that it doesn't add a
significant delay between resuming a sink and calling the external handler.
Calling the handler after suspending is less time critical.

I'll see if I can do this with the event subscription system (when I have
time).

Thanks for the other comments as well!

Joonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20151209/c555915c/attachment.html>


More information about the pulseaudio-discuss mailing list