mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: release transports on profile change
SCO transports have timer-delayed release, but they need to be released immediately when changing profiles to close connections before switching to A2DP.
This commit is contained in:
parent
6fd870a5f0
commit
511bafb436
3 changed files with 25 additions and 0 deletions
|
|
@ -270,6 +270,8 @@ static int set_profile(struct impl *this, uint32_t profile, const struct a2dp_co
|
|||
|
||||
emit_remove_nodes(this);
|
||||
|
||||
spa_bt_device_release_transports(this->bt_dev);
|
||||
|
||||
this->profile = profile;
|
||||
this->selected_a2dp_codec = a2dp_codec;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue