From d0af0fb586ed3d0a3b668387487dfef81b4aeb85 Mon Sep 17 00:00:00 2001 From: Mingshu Pang Date: Fri, 3 Apr 2020 15:48:46 +0800 Subject: [PATCH] sm6250-common: audio: Add built-in/Back mic to primary input sources Built-in mic and Built-In Back Mic aren't in supported devices list of primary input, so record_24 is selected if without connecting any headset, if there is more than 2 capture concurrency, it will fail to open input for primary input when connecting headset in AHAL. Add built-in mic to primary input sources to reuse input to avoid to open extra input stream in AHAL. CRs-fixed: 2643298 Change-Id: I1e062520f7fb03ae97c88341dd58f77177dbe030 --- audio/audio_policy_configuration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 2ad21be..d1e6227 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -354,7 +354,7 @@ + sources="Built-In Mic,Built-In Back Mic,Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/>