mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
bluetooth: switch_codec should start with pa_blueooth_device_
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/521>
This commit is contained in:
parent
a82e019de9
commit
cefee393fb
3 changed files with 5 additions and 5 deletions
|
|
@ -2494,7 +2494,7 @@ static int bluez5_device_message_handler(const char *object_path, const char *me
|
|||
|
||||
stop_thread(u);
|
||||
|
||||
if (!pa_bluetooth_switch_codec(u->device, profile, capabilities_hashmap, codec, switch_codec_cb_handler, userdata)
|
||||
if (!pa_bluetooth_device_switch_codec(u->device, profile, capabilities_hashmap, codec, switch_codec_cb_handler, userdata)
|
||||
&& !u->device->codec_switching_in_progress)
|
||||
goto profile_off;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue