Merge "Supoort audio configuration update to audio HAL for broadcast offload" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot 2022-07-18 22:01:46 +00:00 committed by Android (Google) Code Review
commit 60b03fb52f

View file

@ -111,7 +111,9 @@ void BluetoothAudioSession::ReportAudioConfigChanged(
if (session_type_ != if (session_type_ !=
SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH && SessionType::LE_AUDIO_HARDWARE_OFFLOAD_ENCODING_DATAPATH &&
session_type_ != 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; return;
} }
std::lock_guard<std::recursive_mutex> guard(mutex_); std::lock_guard<std::recursive_mutex> guard(mutex_);