Snap for 7205268 from 404d6b3a33
to sc-v2-release
Change-Id: I014e67c0593b449659b0803168d83cb75385c0ad
This commit is contained in:
commit
65840d065c
21 changed files with 487 additions and 174 deletions
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -117,6 +143,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -130,6 +159,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
|
@ -146,6 +177,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- A2dp Audio HAL -->
|
<!-- A2dp Audio HAL -->
|
||||||
|
|
|
@ -232,6 +232,10 @@
|
||||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||||
|
|
||||||
|
<ctl name="Incall Capture Stream0" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream1" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream2" value="Off"/>
|
||||||
|
|
||||||
<!-- sidetone dynamic control -->
|
<!-- sidetone dynamic control -->
|
||||||
<path name="sidetone-for handset">
|
<path name="sidetone-for handset">
|
||||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||||
|
@ -558,6 +562,34 @@
|
||||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="telephony-rx-captureC">
|
||||||
|
<ctl name="Incall Capture Stream0" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C uplink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C downlink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C call">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C uplink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C downlink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C call">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<!-- codec setting -->>
|
<!-- codec setting -->>
|
||||||
<!-- Rx device -->
|
<!-- Rx device -->
|
||||||
<path name="handset">
|
<path name="handset">
|
||||||
|
@ -605,8 +637,8 @@
|
||||||
<!-- Tx device -->
|
<!-- Tx device -->
|
||||||
<path name="handset-mic">
|
<path name="handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
|
@ -615,7 +647,7 @@
|
||||||
|
|
||||||
<path name="voice-handset-mic">
|
<path name="voice-handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
|
@ -656,8 +688,8 @@
|
||||||
|
|
||||||
<path name="voice-recog-mic">
|
<path name="voice-recog-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -117,6 +143,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -130,6 +159,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
|
@ -146,6 +177,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- A2dp Audio HAL -->
|
<!-- A2dp Audio HAL -->
|
||||||
|
|
|
@ -232,6 +232,10 @@
|
||||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||||
|
|
||||||
|
<ctl name="Incall Capture Stream0" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream1" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream2" value="Off"/>
|
||||||
|
|
||||||
<!-- sidetone dynamic control -->
|
<!-- sidetone dynamic control -->
|
||||||
<path name="sidetone-for handset">
|
<path name="sidetone-for handset">
|
||||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||||
|
@ -558,6 +562,34 @@
|
||||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="telephony-rx-captureC">
|
||||||
|
<ctl name="Incall Capture Stream0" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C uplink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C downlink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C call">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C uplink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C downlink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C call">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<!-- codec setting -->>
|
<!-- codec setting -->>
|
||||||
<!-- Rx device -->
|
<!-- Rx device -->
|
||||||
<path name="handset">
|
<path name="handset">
|
||||||
|
@ -605,8 +637,8 @@
|
||||||
<!-- Tx device -->
|
<!-- Tx device -->
|
||||||
<path name="handset-mic">
|
<path name="handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
|
@ -615,7 +647,7 @@
|
||||||
|
|
||||||
<path name="voice-handset-mic">
|
<path name="voice-handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
|
@ -656,8 +688,8 @@
|
||||||
|
|
||||||
<path name="voice-recog-mic">
|
<path name="voice-recog-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -117,6 +143,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -130,6 +159,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="BT A2DP Out"
|
<route type="mix" sink="BT A2DP Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT A2DP Headphones"
|
<route type="mix" sink="BT A2DP Headphones"
|
||||||
|
@ -146,6 +177,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -55,6 +57,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -65,6 +78,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -90,6 +113,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -102,6 +128,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -115,6 +144,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -125,6 +156,7 @@
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
sources="primary output,deep buffer,haptic,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- A2dp Audio HAL -->
|
<!-- A2dp Audio HAL -->
|
||||||
|
|
|
@ -196,6 +196,10 @@
|
||||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||||
|
|
||||||
|
<ctl name="Incall Capture Stream0" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream1" value="Off"/>
|
||||||
|
<ctl name="Incall Capture Stream2" value="Off"/>
|
||||||
|
|
||||||
<!-- sidetone dynamic control -->
|
<!-- sidetone dynamic control -->
|
||||||
<path name="sidetone-for handset">
|
<path name="sidetone-for handset">
|
||||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||||
|
@ -521,6 +525,35 @@
|
||||||
<path name="hostless-ulC spk-vi">
|
<path name="hostless-ulC spk-vi">
|
||||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="telephony-rx-captureC">
|
||||||
|
<ctl name="Incall Capture Stream0" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C uplink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C downlink">
|
||||||
|
<ctl name="Incall Capture Stream1" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture1C call">
|
||||||
|
<ctl name="Incall Capture Stream1" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C uplink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C downlink">
|
||||||
|
<ctl name="Incall Capture Stream2" value="DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
|
<path name="incall-capture2C call">
|
||||||
|
<ctl name="Incall Capture Stream2" value="UL_DL"/>
|
||||||
|
</path>
|
||||||
|
|
||||||
<!-- codec setting -->>
|
<!-- codec setting -->>
|
||||||
<!-- Rx device -->
|
<!-- Rx device -->
|
||||||
<path name="handset">
|
<path name="handset">
|
||||||
|
|
|
@ -56,12 +56,12 @@
|
||||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO" />
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voice call tx" role="source">
|
<mixPort name="voice call tx" role="source">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
channelMasks="AUDIO_CHANNEL_OUT_MONO" />
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -50,6 +52,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -60,6 +73,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -85,6 +108,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -97,6 +123,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -110,6 +139,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -120,6 +151,7 @@
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- Bluetooth Audio HAL -->
|
<!-- Bluetooth Audio HAL -->
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
<audioPolicyConfiguration version="1.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||||
<globalConfiguration speaker_drc_enabled="false"/>
|
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||||
<modules>
|
<modules>
|
||||||
<!-- Primary Audio HAL -->
|
<!-- Primary Audio HAL -->
|
||||||
<module name="primary" halVersion="2.0">
|
<module name="primary" halVersion="2.0">
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
<item>Speaker Safe</item>
|
<item>Speaker Safe</item>
|
||||||
<item>Earpiece</item>
|
<item>Earpiece</item>
|
||||||
<item>Built-In Mic</item>
|
<item>Built-In Mic</item>
|
||||||
|
<item>Telephony Tx</item>
|
||||||
|
<item>Voice Call And Telephony Rx</item>
|
||||||
</attachedDevices>
|
</attachedDevices>
|
||||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||||
<mixPorts>
|
<mixPorts>
|
||||||
|
@ -50,6 +52,17 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall playback" role="source"
|
||||||
|
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call tx" role="source">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000"
|
samplingRates="48000"
|
||||||
|
@ -60,6 +73,16 @@
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="incall capture" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
|
<mixPort name="voice call rx" role="sink">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="48000"
|
||||||
|
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
</mixPorts>
|
</mixPorts>
|
||||||
<devicePorts>
|
<devicePorts>
|
||||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||||
|
@ -85,6 +108,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="Aux Digital" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
|
</devicePort>
|
||||||
|
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||||
|
@ -97,6 +123,9 @@
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||||
</devicePort>
|
</devicePort>
|
||||||
|
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||||
|
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||||
|
</devicePort>
|
||||||
</devicePorts>
|
</devicePorts>
|
||||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||||
<routes>
|
<routes>
|
||||||
|
@ -110,6 +139,8 @@
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||||
|
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||||
|
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
|
@ -120,6 +151,7 @@
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,deep buffer,raw,compressed_offload"/>
|
sources="primary output,deep buffer,raw,compressed_offload"/>
|
||||||
|
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||||
</routes>
|
</routes>
|
||||||
</module>
|
</module>
|
||||||
<!-- A2dp Audio HAL -->
|
<!-- A2dp Audio HAL -->
|
||||||
|
|
|
@ -605,6 +605,9 @@
|
||||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="voice-hac">
|
||||||
|
<path name="voice-handset"/>
|
||||||
|
</path>
|
||||||
<path name="voice-hac-handset">
|
<path name="voice-hac-handset">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -634,25 +637,21 @@
|
||||||
<!-- Tx device -->
|
<!-- Tx device -->
|
||||||
<path name="handset-mic">
|
<path name="handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="voice-handset-mic">
|
<path name="voice-handset-mic">
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="-1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -663,9 +662,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -676,9 +672,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -690,9 +683,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -703,9 +693,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="220"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="220"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -716,7 +703,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -727,8 +713,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
@ -739,9 +723,6 @@
|
||||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||||
<ctl name="MIC Clock Rate" value="3072000"/>
|
<ctl name="MIC Clock Rate" value="3072000"/>
|
||||||
<ctl name="MIC DC Blocker" value="1"/>
|
<ctl name="MIC DC Blocker" value="1"/>
|
||||||
<ctl name="MIC0" value="1"/>
|
|
||||||
<ctl name="MIC1" value="1"/>
|
|
||||||
<ctl name="MIC2" value="1"/>
|
|
||||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
<ctl name="MIC HW Gain At High Power Mode (cB)" value="50"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,9 @@ on fs
|
||||||
chown system system /dev/goodix_fp
|
chown system system /dev/goodix_fp
|
||||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g6.app
|
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g6.app
|
||||||
|
|
||||||
|
# Face
|
||||||
|
exec_background /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app
|
||||||
|
|
||||||
on property:mfgapi.touchpanel.permission=1
|
on property:mfgapi.touchpanel.permission=1
|
||||||
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
chmod 0600 /sys/devices/virtual/sec/tsp/cmd
|
||||||
chown system system /sys/devices/virtual/sec/tsp/cmd
|
chown system system /sys/devices/virtual/sec/tsp/cmd
|
||||||
|
|
|
@ -408,20 +408,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="240" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<ImageEncoding quality="90" />
|
<ImageEncoding quality="90" />
|
||||||
<ImageEncoding quality="80" />
|
<ImageEncoding quality="80" />
|
||||||
<ImageEncoding quality="70" />
|
<ImageEncoding quality="70" />
|
||||||
|
@ -539,20 +525,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="120" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<ImageEncoding quality="90" />
|
<ImageEncoding quality="90" />
|
||||||
<ImageEncoding quality="80" />
|
<ImageEncoding quality="80" />
|
||||||
<ImageEncoding quality="70" />
|
<ImageEncoding quality="70" />
|
||||||
|
|
|
@ -408,20 +408,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="240" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<ImageEncoding quality="90" />
|
<ImageEncoding quality="90" />
|
||||||
<ImageEncoding quality="80" />
|
<ImageEncoding quality="80" />
|
||||||
<ImageEncoding quality="70" />
|
<ImageEncoding quality="70" />
|
||||||
|
@ -539,20 +525,6 @@
|
||||||
channels="1" />
|
channels="1" />
|
||||||
</EncoderProfile>
|
</EncoderProfile>
|
||||||
|
|
||||||
<EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
|
|
||||||
<Video codec="h264"
|
|
||||||
bitRate="42000000"
|
|
||||||
width="1920"
|
|
||||||
height="1080"
|
|
||||||
frameRate="120" />
|
|
||||||
|
|
||||||
<!-- audio setting is ignored -->
|
|
||||||
<Audio codec="aac"
|
|
||||||
bitRate="96000"
|
|
||||||
sampleRate="48000"
|
|
||||||
channels="1" />
|
|
||||||
</EncoderProfile>
|
|
||||||
|
|
||||||
<ImageEncoding quality="90" />
|
<ImageEncoding quality="90" />
|
||||||
<ImageEncoding quality="80" />
|
<ImageEncoding quality="80" />
|
||||||
<ImageEncoding quality="70" />
|
<ImageEncoding quality="70" />
|
||||||
|
|
|
@ -107,16 +107,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "vdroop1",
|
"TriggerSensor": "smpl_gm",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"vdroop1"
|
"smpl_gm"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1200"
|
"1400"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -148,38 +148,6 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name":"vdroop1",
|
|
||||||
"Type":"BCL_VOLTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
1200,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"vdroop2",
|
|
||||||
"Type":"BCL_VOLTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
1200,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
|
@ -107,16 +107,16 @@
|
||||||
"Type":"UNKNOWN",
|
"Type":"UNKNOWN",
|
||||||
"VirtualSensor":true,
|
"VirtualSensor":true,
|
||||||
"Formula":"COUNT_THRESHOLD",
|
"Formula":"COUNT_THRESHOLD",
|
||||||
"TriggerSensor": "vdroop1",
|
"TriggerSensor": "smpl_gm",
|
||||||
"Combination":[
|
"Combination":[
|
||||||
"battery",
|
"battery",
|
||||||
"battery_cycle",
|
"battery_cycle",
|
||||||
"vdroop1"
|
"smpl_gm"
|
||||||
],
|
],
|
||||||
"Coefficient":[
|
"Coefficient":[
|
||||||
"-10000",
|
"-10000",
|
||||||
"400",
|
"400",
|
||||||
"1200"
|
"1400"
|
||||||
],
|
],
|
||||||
"HotThreshold":[
|
"HotThreshold":[
|
||||||
"NAN",
|
"NAN",
|
||||||
|
@ -148,38 +148,6 @@
|
||||||
"Multiplier":1,
|
"Multiplier":1,
|
||||||
"Monitor":false
|
"Monitor":false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"Name":"vdroop1",
|
|
||||||
"Type":"BCL_VOLTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
1200,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"Name":"vdroop2",
|
|
||||||
"Type":"BCL_VOLTAGE",
|
|
||||||
"HotThreshold":[
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
"NAN",
|
|
||||||
1200,
|
|
||||||
"NAN",
|
|
||||||
"NAN"
|
|
||||||
],
|
|
||||||
"VrThreshold":"NAN",
|
|
||||||
"Multiplier":1,
|
|
||||||
"Monitor":true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name":"smpl_gm",
|
"Name":"smpl_gm",
|
||||||
"Type":"BCL_VOLTAGE",
|
"Type":"BCL_VOLTAGE",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue