[pulseaudio-discuss] Pulseaudio alsa configure hook

Colin Guthrie gmane at colin.guthr.ie
Tue May 6 18:53:18 PDT 2008

Lennart Poettering wrote:
> On Thu, 01.05.08 14:58, Colin Guthrie (gmane at colin.guthr.ie) wrote:
>> Sjoerd Simons wrote:
>>> Hi,
>>>   The attached patch extends the alsa pulse plugin set with a alsa
>>>   configuration hook. Allowing one to specify some configuration parameters
>>>   that only come into effect when pulseaudio is running.
>>>   For example a configution file like:
>>>     @hooks [ {
>>>        func on_pulse_is_running
>>>          pcm.!default { type pulse }
>>>          ctl.!default { type pulse }
>>>        }
>>>    ]
>> Just a quick question as I've not had a chance to try this out yet!
>> Does your code consider pulse as unavailable if it's suspended?
> Uh? Better not. 
> PA by default suspends sinks these days when they are not used. Hence
> implementing what you requested doesn't really do any good.

I guess I meant "does it check to see if pulse can be unsuspended (e.g. 
if it is in suspended state, is it possible to unsuspend)". I'm not sure 
if this is possible with the API.


More information about the pulseaudio-discuss mailing list