From 374b2dc57a4614ef00e5b5274c2a7c8310049f52 Mon Sep 17 00:00:00 2001 From: Arian Date: Mon, 17 Aug 2020 12:43:42 +0200 Subject: [PATCH] davinci: audio: Adjust echo reference speaker path names for caf audio HAL * Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path. * That led to an echo in voip speaker calls since xiaomi appends speaker to the path name and hence the echo reference wasn't set up properly, because xiaomi did not apply their echo-reference edits to the default path. * To fix this we can apply xiaomi's "echo-reference speaker" and "echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip". * Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths because they are the same as "echo-reference" and "echo-reference-voip" and even if the HAL will support speaker paths one day, it would not be needed for us since we don't need to differ between speaker and no suffix. Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8 --- configs/audio/mixer_paths_idp.xml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/configs/audio/mixer_paths_idp.xml b/configs/audio/mixer_paths_idp.xml index bd8448d..405c886 100644 --- a/configs/audio/mixer_paths_idp.xml +++ b/configs/audio/mixer_paths_idp.xml @@ -883,7 +883,9 @@ - + + + @@ -914,7 +916,8 @@ - + + @@ -930,17 +933,6 @@ - - - - - - - - - - -