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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux