~aleteoryx/muditaos

1c27ec90be7674081d43680f99c2986667c93eca — Lefucjusz 2 years ago 534e7c7
[MOS-814] Fix no sound after BT reconnection

Fix of the issue that previous commit
didn't resolve - for some Bluetooth
devices voice still wasn't heard
after disconnection and reconnection
during a call.
1 files changed, 1 insertions(+), 0 deletions(-)

M module-bluetooth/Bluetooth/interface/profiles/HFP/HFP.cpp
M module-bluetooth/Bluetooth/interface/profiles/HFP/HFP.cpp => module-bluetooth/Bluetooth/interface/profiles/HFP/HFP.cpp +1 -0
@@ 286,6 286,7 @@ namespace bluetooth
                LOG_DEBUG("Audio connection established with SCO handle 0x%04x", scoHandle);
                codec = static_cast<SCOCodec>(hfp_subevent_audio_connection_established_get_negotiated_codec(event));
                dump_supported_codecs();
                audioInterface->startAudioRouting(const_cast<sys::Service *>(ownerService));
                hci_request_sco_can_send_now_event();
                RunLoop::trigger();
            }