summaryrefslogtreecommitdiff
path: root/bluetooth
diff options
context:
space:
mode:
authorAlice Kuo <aliceypkuo@google.com>2022-07-08 00:32:04 +0800
committerAlice Kuo <aliceypkuo@google.com>2022-07-14 19:04:02 +0800
commit53c6e83534dbb9618dc79ba9eb1ad3752383f90d (patch)
tree207be138e6c8d0a09136efaf93c5a3ca2610c516 /bluetooth
parentbd915c129c110de3b015059f51222315cea101cc (diff)
Supoort audio configuration update to audio HAL for broadcast offload
Bug: 210987580 Test: start the broadcast offload, check log Change-Id: Iadae625d10ad179089b952ac94ff66ae90a6236e Merged-In: Iadae625d10ad179089b952ac94ff66ae90a6236e (cherry picked from commit 36a879796bb046a5261d9862a69776f2bba94466)
Diffstat (limited to 'bluetooth')
-rw-r--r--bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
index 1dd7887a0a..292d352b9c 100644
--- a/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
+++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioSession.cpp
@@ -111,7 +111,9 @@ void BluetoothAudioSession::ReportAudioConfigChanged(
if (session_type_ !=
SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH &&
session_type_ !=
- SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH) {
+ SessionType::LE_AUDIO_HARDWARE_OFFLOAD_DECODING_DATAPATH &&
+ session_type_ !=
+ SessionType::LE_AUDIO_BROADCAST_HARDWARE_OFFLOAD_ENCODING_DATAPATH) {
return;
}
std::lock_guard<std::recursive_mutex> guard(mutex_);