From 1c13328e44df88d2c5900f7094560c7c4ec9e60c Mon Sep 17 00:00:00 2001 From: Samyak Jain Date: Fri, 8 Jun 2018 13:39:35 +0530 Subject: wayne-common: Support 2 instances of "primary input" No Audio heard in FM Speaker when FM record and FM speaker are on simultaneously With default values for maxActiveCount and maxOpenCount, FM app is unable to record and play FM audio on speaker simultaneously since it uses application loop back(AudioRecord->AudioTrack) to route FM audio to non-default devices(Speaker) Add attributes maxActiveCount="2" and maxOpenCount="2" to mixPort "primary input" CRs-fixed: 2249758 Change-Id: I82a1cb0d5596486d531d5324b91f932f52b07f9e --- 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 1d800ee..b7319d5 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -155,7 +155,7 @@ samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/> - + -- cgit v1.2.3