[pulseaudio-discuss] [PATCH] suspend-on-idle: Allow disabling suspending for specific devices

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri Aug 30 00:28:40 PDT 2013


On Fri, 2013-08-30 at 08:16 +0200, David Henningsson wrote:
> On 08/29/2013 04:36 PM, Tanu Kaskinen wrote:
> > Sometimes it would be nice to disable module-suspend-on-idle for
> > specific devices. For me the use case is to keep a HDMI sink running
> > all the time to avoid loss of audio when starting to play a stream to
> > the device (the HDMI receiver eats a bit from the beginning of the
> > stream when the device is opened). This is arguably a hacky solution
> > to the problem, but on the other hand, I think it's very sensible to
> > interpret negative timeout in the module-suspend-on-idle.timeout
> > property as disabling the suspending altogher. This is also how the
> > exit-idle-time configuration option behaves (negative value disables
> > automatic exiting).
> 
> Didn't Arun have another solution for a similar problem? Like a sink
> ALWAYS_RUNNING flag or something.

Yes, he did. That patch was not merged, and I don't know if Arun plans
to still work on it.

Regardless of Arun's solution, I think it makes sense to support
negative value for the module-suspend-on-idle.timeout property to be
consistent with other timeout parameters.

-- 
Tanu



More information about the pulseaudio-discuss mailing list