[pulseaudio-discuss] [PATCH v2] card-restore: Don't restore profile on Bluetooth cards by default

Tanu Kaskinen tanuk at iki.fi
Sun Jul 22 14:46:28 UTC 2018


On Fri, 2018-07-20 at 12:39 -0700, João Paulo Rechi Vita wrote:
> We can provide a better overall user experience with Bluetooth cards by
> always choosing the higher audio quality profile (A2DP) by default and
> updating the profile selection dynamically according to which streams
> are active at a certain moment. The default initial selection has been
> addressed by "85daab272 bluetooth: set better priorities for profiles"
> and the dynamic profile selection is covered by module-bluetooth-policy.
> 
> In addition, module-card-restore's database entries for Bluetooth devices
> are retained after a device is removed from the system, leading to the
> previously selected profile being restored after a new pairing with the
> same device, with no way for the user to erase this memory and reset the
> default profile except manually fiddling with module-card-restore's
> database.
> 
> This commit adds a module argument to have module-card-restore ignore
> Bluetooth profiles and this behavior is set as default.
> ---
>  src/modules/module-card-restore.c | 20 +++++++++++++++++++-
>  1 file changed, 19 insertions(+), 1 deletion(-)

Thanks! Applied.

-- 
Tanu

https://www.patreon.com/tanuk
https://liberapay.com/tanuk


More information about the pulseaudio-discuss mailing list