[PATCH v0 09/16] bluetooth: Move streams during shutdown

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

 



Hi Tanu,

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
somewhere else.

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.

Cheers,
Mikel


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

  Powered by Linux