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