[pulseaudio-discuss] [PATCH v0 09/16] bluetooth: Move streams during shutdown
mikel.astiz.oss at gmail.com
Sun Oct 14 19:28:41 PDT 2012
On Sun, Oct 14, 2012 at 6:47 PM, Tanu Kaskinen <tanuk at iki.fi> wrote:
> On Fri, 2012-09-28 at 17:45 +0200, Mikel Astiz wrote:
>> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
>> If sink and sources exist during shutdown, the streams need to be moved
>> exactly as when the profile is being set to off.
> Why? I thought that moving streams during profile change is done because
> it's supposedly a good policy to keep the streams at the same device
> before and after a profile switch. That doesn't apply during device
> unload, so am I missing the real purpose for the moving, or is this
> patch unnecessary?
This might be a lack of knowledge from my side about stream moving.
What I understood from the code (specially from the bluetooth module)
is that the modules needed to report the core that something should be
done with these streams, and then routing policies would apply
(possibly implemented in some other policy module).
An example would be some audio being played to a bluetooth headset. If
the module gets disconnected, the stream would need to be routed
If this is automatically handled by PA without this code, then I agree
with your reply to patch 08/16, and the code should be removed.
More information about the pulseaudio-discuss