matisse-common: Clean up audio policy configuration
- Remove FM Tuner are devices don't have one. - Remove deep_buffer.
This commit is contained in:
parent
748ced628c
commit
d615668921
1 changed files with 3 additions and 9 deletions
|
@ -50,7 +50,6 @@
|
|||
<item>Speaker</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>FM Tuner</item>
|
||||
<item>Telephony Rx</item>
|
||||
<item>Telephony Tx</item>
|
||||
</attachedDevices>
|
||||
|
@ -166,11 +165,6 @@
|
|||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="FM Tuner" type="AUDIO_DEVICE_IN_FM_TUNER" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
|
@ -193,11 +187,11 @@
|
|||
<route type="mix" sink="Proxy"
|
||||
sources="primary output,low_latency,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep_buffer,voip_rx"/>
|
||||
sources="primary output,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep_buffer,voip_rx"/>
|
||||
sources="primary output,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep_buffer,voip_rx"/>
|
||||
sources="primary output,voip_rx"/>
|
||||
</routes>
|
||||
|
||||
</module>
|
||||
|
|
Loading…
Reference in a new issue