[PATCH powerd] Inhibit suspend while audio device is open

Mark Brown broonie at sirena.org.uk
Mon May 28 11:30:47 EDT 2012


On Mon, May 21, 2012 at 01:00:29AM +0200, Sascha Silbe wrote:

> While there's a number of Activities (and probably Gnome applications as well)
> that don't close the audio device when they're done using audio, thus
> inhibiting suspend for longer than necessary, that's a problem on its own
> as it will also prevent other Activities from using the audio device.

The most obvious thing to do here would seem to be to use PulseAudio -
not only can it allow applications to not worry their pretty little
heads about this it'll also give you mixing support and there's some
pretty nifty power management stuff in there.



More information about the Devel mailing list