diff options
author | Samyak Jain <samyjain@codeaurora.org> | 2018-06-08 13:39:35 +0530 |
---|---|---|
committer | TingyiChen <tingyi364@gmail.com> | 2019-08-13 11:54:21 +0200 |
commit | 1c13328e44df88d2c5900f7094560c7c4ec9e60c (patch) | |
tree | 666e52c13788aedbcd689eabf8e84627e424dc2f /audio | |
parent | cb9de9e4bcda598ebd3bde2ea6647084a4f7e25b (diff) |
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
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio_policy_configuration.xml | 2 |
1 files changed, 1 insertions, 1 deletions
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"/> </mixPort> - <mixPort name="primary input" role="sink"> + <mixPort name="primary input" role="sink" maxOpenCount="2" maxActiveCount="2"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000" channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO,AUDIO_CHANNEL_IN_FRONT_BACK"/> |