hal: avoid using voip sound device with different backends
When selecting device for playback usecase with voip usecase active, voip sound device will be selected if sound device of usecase share same backend defined by AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND. However, on some platforms, devices in AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND actually use different backends, and sound devices will be wrongly selected for playback usecase if voip sound device is updated later than playback sound device. Use platform_check_backends_match to check backends match before using voip sound device for other usecases. Change-Id: I8914323d6fb20498a96a0a6fe6fa5b5adbd5906b CRs-Fixed: 2035597
Loading
Please register or sign in to comment