diff --git a/frameworks/native/audioeffect/src/audio_effect_chain_manager.cpp b/frameworks/native/audioeffect/src/audio_effect_chain_manager.cpp index 9e1f55cc904ad892ea20b88b9db17e87b9a61fac..1404a1a26228428c1efef47e5426520cc85c98d8 100644 --- a/frameworks/native/audioeffect/src/audio_effect_chain_manager.cpp +++ b/frameworks/native/audioeffect/src/audio_effect_chain_manager.cpp @@ -1316,7 +1316,8 @@ void AudioEffectChainManager::UpdateSpatializationEnabled(AudioSpatializationSta memset_s(static_cast(effectHdiInput_), sizeof(effectHdiInput_), 0, sizeof(effectHdiInput_)); if (spatializationEnabled_) { - if ((deviceType_ == DEVICE_TYPE_BLUETOOTH_A2DP) && (!btOffloadSupported_)) { + if (((deviceType_ == DEVICE_TYPE_BLUETOOTH_A2DP) || (deviceType_ == DEVICE_TYPE_BLUETOOTH_SCO)) && + (!btOffloadSupported_)) { AUDIO_INFO_LOG("A2dp-hal, enter ARM processing"); btOffloadEnabled_ = false; SetSpatializationEnabledToChains(); diff --git a/services/audio_policy/server/domain/effect/src/audio_collaborative_service.cpp b/services/audio_policy/server/domain/effect/src/audio_collaborative_service.cpp index 6193bee081c012e1757c684bfde02baedcb54b6e..2d7279257c445e9b6adf17f9ad833d089b691131 100644 --- a/services/audio_policy/server/domain/effect/src/audio_collaborative_service.cpp +++ b/services/audio_policy/server/domain/effect/src/audio_collaborative_service.cpp @@ -108,7 +108,7 @@ bool AudioCollaborativeService::IsCollaborativePlaybackEnabledForDevice( addressToCollaborativeEnabledMap_[selectedAudioDevice->macAddress_]); return addressToCollaborativeEnabledMap_[selectedAudioDevice->macAddress_]; } - AUDIO_INFO_LOG("address %{public}s is not in map", selectedAudioDevice->macAddress_.c_str()); + AUDIO_INFO_LOG("address %{public}s is not in map", GetEncryptAddr(selectedAudioDevice->macAddress_).c_str()); return false; }