[pulseaudio-discuss] Pulseaudio alsa configure hook
Lennart Poettering
mznyfn at 0pointer.de
Tue May 6 11:43:42 PDT 2008
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.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net ICQ# 11060553
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list