[pulseaudio-discuss] [PATCH 1/2] allow-passthrough: Add module to allow passthrough streams always go through

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Fri May 23 03:56:15 PDT 2014


On Thu, 2014-05-22 at 13:48 +0600, Alexander E. Patrakov wrote:
> 19.05.2014 19:58, Sjoerd Simons wrote:
> > From: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
> >
> > For various use-cases a passthrough stream should have priority over all
> > other streams and get exclusive access to the sink regardless of whether
> > any other streams are playing.
> >
> > An example use-case is ensuring XBMC can successfully start video
> > playback (with passthrough) even if an external notification sound
> > happened to be playing at the same time.
> 
> Why does this need to be a module instead of a simple configuration 
> parameter in /etc/pulse/daemon.conf? Is there any use case for changing 
> this on the fly, as implied by making it a module?

daemon.conf isn't really the place to configure the stream
prioritization policy. It won't scale to more complex rules, and I don't
want to split things so that some prioritization schemes are configured
in daemon.conf and some are configured in routing modules.

I haven't looked at the code of this new module, but I think the general
idea is fine as long as we don't have more comprehensive configuration
facilities for routing.

-- 
Tanu



More information about the pulseaudio-discuss mailing list