From 3a94d2358cf9212bb950d02e060ca763b2b01aa3 Mon Sep 17 00:00:00 2001 From: Anver sadhique Date: Thu, 27 Jan 2022 12:15:09 +0530 Subject: [PATCH] miatoll: audio: Set valid and supported channel mask for earpiece For earpiece to be properly enumerated as a output device, set valid and supported out_ channel mask. Change-Id: Ic83b009956ff43567b3acbb186d0069b16e91e83 Signed-off-by: BladeRunner-A2C --- configs/audio/audio_policy_configuration.xml | 32 +++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/configs/audio/audio_policy_configuration.xml b/configs/audio/audio_policy_configuration.xml index 78e48ec..bd2df4b 100644 --- a/configs/audio/audio_policy_configuration.xml +++ b/configs/audio/audio_policy_configuration.xml @@ -17,6 +17,36 @@ limitations under the License. --> + + @@ -221,7 +251,7 @@ + samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>