From 00956a4e88bf532aae0a567e710e5eed24fdc598 Mon Sep 17 00:00:00 2001 From: Michael Lenskiy Date: Fri, 15 Jan 2021 00:24:02 +0000 Subject: [PATCH] sdm660-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_policy_configuration_a2dp_offload_disabled.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/audio/audio_policy_configuration_a2dp_offload_disabled.xml b/configs/audio/audio_policy_configuration_a2dp_offload_disabled.xml index 5c7b9af0..b2b325e8 100644 --- a/configs/audio/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/configs/audio/audio_policy_configuration_a2dp_offload_disabled.xml @@ -165,6 +165,11 @@ samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/> + + + +