audio: fix the acdb id for FE app_type setting
If we enable speaker protection and then set different acdb id
for SND_DEVICE_OUT_SPEAKER and SND_DEVICE_OUT_SPEAKER_PROTECTED,
it will cause acdb id and data mismatch in kernel side.
This patch ensures the acdb id in app_type setting will be the same
with the the one that audio HAL sets to acdbloader.
Bug: 73724040
Bug: 76196800
Test: manual audio test
Change-Id: I09b86a7fd9940e5080153e99b7a5b9a524ab93d2
Signed-off-by: carterhsu <carterhsu@android.com>
Signed-off-by: David Lin <dtwlin@google.com>
1 file changed