Pulseaudio alsa configure hook

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

 



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.

Col




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

  Powered by Linux