Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8cd6a98e authored by yidongh's avatar yidongh Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 26208927
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment