From 84b08566ad5b221649553c831a634aca0c52832e Mon Sep 17 00:00:00 2001 From: Mingshu Pang Date: Mon, 28 Oct 2019 11:12:18 +0800 Subject: [PATCH] sm6250-common: audio: Add fast input profile for the record concurrency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If two recording apps both select the primary input with fast flag, second app will fail to start because the hal doesn't support two inputs with the same use case if input can't be reused since of the limit of primary input's max open count. Add the dedicated profile for “low-latency-record” to make the first input can be reused if possible. CRs-Fixed: 2550228 Change-Id: I233bd3eaf614b195df0a41402747f496d3a56b44 --- audio/audio_policy_configuration.xml | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 audio/audio_policy_configuration.xml diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml old mode 100644 new mode 100755 index e2c4d03..48fdc47 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -173,6 +173,12 @@ samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> + + + +