clover: 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
This commit is contained in:
parent
ff8a4d7393
commit
377f56bc4f
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,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"/>
|
||||
|
|
Loading…
Reference in a new issue