android_device_xiaomi_grus/audio/mixer_paths_overlay_static.xml
Sebastiano Barezzi 45d8b85cb9
grus: Import audio configs
* From grus-user 11 RKQ1.20082.002 V12.5.1.0.RFBMIXM release-keys

Change-Id: I40927c1c6f281231010fdf1d4a758ab572236ee1
2022-05-19 00:22:55 +02:00

492 lines
18 KiB
XML

<mixer>
<ctl name="PRIM_MI2S_RX Channels" value="Two" />
<ctl name="PRIM_MI2S_RX Format" value="S24_LE" />
<ctl name="PRIM_MI2S_RX SampleRate" value="KHZ_48" />
<ctl name="PRIM_MI2S_TX Channels" value="Two" />
<ctl name="PRIM_MI2S_TX Format" value="S24_LE" />
<ctl name="PRIM_MI2S_TX SampleRate" value="KHZ_48" />
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="ZERO" />
<ctl name="PRIM_MI2S_RX SampleRate" value="KHZ_48" />
<!--
<ctl name="Cirrus SP FBPort" value="PRI_MI2S_RX" />
<ctl name="Cirrus SP Usecase" value="Music" />
-->
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="PCM Source" value="None" />
<ctl name="ASPTX Ref" value="None" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="HPHL" value="ZERO" />
<ctl name="HPHR" value="ZERO" />
<ctl name="EAR_S" value="ZERO" />
<ctl name="AMP PCM Gain" value="16" />
<ctl name="PCM Soft Ramp" value="4ms" />
<ctl name="INT0_MI2S_RX SampleRate" value="KHZ_96" />
<path name="deep-buffer-playback">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia1" value="1" />
</path>
<path name="deep-buffer-playback speaker-protected">
<path name="deep-buffer-playback speaker" />
</path>
<path name="deep-buffer-playback speaker-and-display-port">
<path name="deep-buffer-playback display-port" />
<path name="deep-buffer-playback speaker" />
</path>
<path name="deep-buffer-playback speaker-and-usb-headphones">
<path name="deep-buffer-playback usb-headphones" />
<path name="deep-buffer-playback speaker" />
</path>
<path name="low-latency-playback">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia5" value="1" />
</path>
<path name="deep-buffer-playback speaker-and-headphones">
<path name="deep-buffer-playback headphones" />
<path name="deep-buffer-playback speaker" />
</path>
<path name="deep-buffer-playback speaker-and-bt-a2dp">
<path name="deep-buffer-playback bt-a2dp" />
<path name="deep-buffer-playback speaker" />
</path>
<path name="low-latency-playback speaker-protected">
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-display-port">
<path name="low-latency-playback display-port" />
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-usb-headphones">
<path name="low-latency-playback usb-headphones" />
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-headphones">
<path name="low-latency-playback headphones" />
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-bt-a2dp">
<path name="low-latency-playback bt-a2dp" />
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-bt-sco">
<path name="low-latency-playback bt-sco" />
<path name="low-latency-playback speaker" />
</path>
<path name="low-latency-playback speaker-and-bt-sco-wb">
<path name="low-latency-playback bt-sco-wb" />
<path name="low-latency-playback speaker" />
</path>
<path name="audio-ull-playback speaker-protected">
<path name="audio-ull-playback speaker" />
</path>
<path name="audio-ull-playback speaker-and-headphones">
<path name="audio-ull-playback speaker" />
<path name="audio-ull-playback headphones" />
</path>
<path name="audio-ull-playback speaker-and-display-port">
<path name="audio-ull-playback display-port" />
<path name="audio-ull-playback speaker" />
</path>
<path name="audio-ull-playback speaker-and-bt-a2dp">
<path name="audio-ull-playback bt-a2dp" />
<path name="audio-ull-playback speaker" />
</path>
<path name="compress-offload-playback">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia4" value="1" />
</path>
<path name="compress-offload-playback speaker-protected">
<path name="compress-offload-playback speaker" />
</path>
<path name="compress-offload-playback speaker-and-display-port">
<path name="compress-offload-playback display-port" />
<path name="compress-offload-playback speaker" />
</path>
<path name="compress-offload-playback speaker-and-usb-headphones">
<path name="compress-offload-playback usb-headphones" />
<path name="compress-offload-playback speaker" />
</path>
<path name="compress-offload-playback speaker-and-headphones">
<path name="compress-offload-playback headphones" />
<path name="compress-offload-playback speaker" />
</path>
<path name="compress-offload-playback speaker-and-bt-a2dp">
<path name="compress-offload-playback bt-a2dp" />
<path name="compress-offload-playback speaker" />
</path>
<path name="compress-offload-playback2">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia7" value="1" />
</path>
<path name="compress-offload-playback2 speaker-and-display-port">
<path name="compress-offload-playback2 display-port" />
<path name="compress-offload-playback2 speaker" />
</path>
<path name="compress-offload-playback2 speaker-and-usb-headphones">
<path name="compress-offload-playback2 usb-headphones" />
<path name="compress-offload-playback2 speaker" />
</path>
<path name="compress-offload-playback2 speaker-and-headphones">
<path name="compress-offload-playback2 headphones" />
<path name="compress-offload-playback2 speaker" />
</path>
<path name="compress-offload-playback2 speaker-and-bt-a2dp">
<path name="compress-offload-playback2 bt-a2dp" />
<path name="compress-offload-playback2 speaker" />
</path>
<path name="compress-offload-playback3">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="1" />
</path>
<path name="compress-offload-playback3 speaker-and-display-port">
<path name="compress-offload-playback3 display-port" />
<path name="compress-offload-playback3 speaker" />
</path>
<path name="compress-offload-playback3 speaker-and-usb-headphones">
<path name="compress-offload-playback3 usb-headphones" />
<path name="compress-offload-playback3 speaker" />
</path>
<path name="compress-offload-playback3 speaker-and-headphones">
<path name="compress-offload-playback3 headphones" />
<path name="compress-offload-playback3 speaker" />
</path>
<path name="compress-offload-playback3 speaker-and-bt-a2dp">
<path name="compress-offload-playback3 bt-a2dp" />
<path name="compress-offload-playback3 speaker" />
</path>
<path name="compress-offload-playback4">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia11" value="1" />
</path>
<path name="compress-offload-playback4 speaker-and-usb-headphones">
<path name="compress-offload-playback4 usb-headphones" />
<path name="compress-offload-playback4 speaker" />
</path>
<path name="compress-offload-playback4 speaker-and-headphones">
<path name="compress-offload-playback4 headphones" />
<path name="compress-offload-playback4 speaker" />
</path>
<path name="compress-offload-playback4 speaker-and-bt-a2dp">
<path name="compress-offload-playback4 bt-a2dp" />
<path name="compress-offload-playback4 speaker" />
</path>
<path name="compress-offload-playback5">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia12" value="1" />
</path>
<path name="compress-offload-playback5 speaker-and-display-port">
<path name="compress-offload-playback5 display-port" />
<path name="compress-offload-playback5 speaker" />
</path>
<path name="compress-offload-playback5 speaker-and-usb-headphones">
<path name="compress-offload-playback5 usb-headphones" />
<path name="compress-offload-playback5 speaker" />
</path>
<path name="compress-offload-playback5 speaker-and-headphones">
<path name="compress-offload-playback5 headphones" />
<path name="compress-offload-playback5 speaker" />
</path>
<path name="compress-offload-playback5 speaker-and-bt-a2dp">
<path name="compress-offload-playback5 bt-a2dp" />
<path name="compress-offload-playback5 speaker" />
</path>
<path name="compress-offload-playback6">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia13" value="1" />
</path>
<path name="compress-offload-playback6 speaker-and-display-port">
<path name="compress-offload-playback6 display-port" />
<path name="compress-offload-playback6 speaker" />
</path>
<path name="compress-offload-playback6 speaker-and-usb-headphones">
<path name="compress-offload-playback6 usb-headphones" />
<path name="compress-offload-playback6 speaker" />
</path>
<path name="compress-offload-playback6 speaker-and-headphones">
<path name="compress-offload-playback6 headphones" />
<path name="compress-offload-playback6 speaker" />
</path>
<path name="compress-offload-playback6 speaker-and-bt-a2dp">
<path name="compress-offload-playback6 bt-a2dp" />
<path name="compress-offload-playback6 speaker" />
</path>
<path name="compress-offload-playback7">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia14" value="1" />
</path>
<path name="compress-offload-playback7 speaker-and-display-port">
<path name="compress-offload-playback7 display-port" />
<path name="compress-offload-playback7 speaker" />
</path>
<path name="compress-offload-playback7 speaker-and-usb-headphones">
<path name="compress-offload-playback7 usb-headphones" />
<path name="compress-offload-playback7 speaker" />
</path>
<path name="compress-offload-playback7 speaker-and-headphones">
<path name="compress-offload-playback7 headphones" />
<path name="compress-offload-playback7 speaker" />
</path>
<path name="compress-offload-playback7 speaker-and-bt-a2dp">
<path name="compress-offload-playback7 bt-a2dp" />
<path name="compress-offload-playback7 speaker" />
</path>
<path name="compress-offload-playback8">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia15" value="1" />
</path>
<path name="compress-offload-playback8 speaker-and-display-port">
<path name="compress-offload-playback8 display-port" />
<path name="compress-offload-playback8 speaker" />
</path>
<path name="compress-offload-playback8 speaker-and-usb-headphones">
<path name="compress-offload-playback8 usb-headphones" />
<path name="compress-offload-playback8 speaker" />
</path>
<path name="compress-offload-playback8 speaker-and-headphones">
<path name="compress-offload-playback8 headphones" />
<path name="compress-offload-playback8 speaker" />
</path>
<path name="compress-offload-playback8 speaker-and-bt-a2dp">
<path name="compress-offload-playback8 bt-a2dp" />
<path name="compress-offload-playback8 speaker" />
</path>
<path name="compress-offload-playback9">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia16" value="1" />
</path>
<path name="compress-offload-playback9 speaker-and-display-port">
<path name="compress-offload-playback9 display-port" />
<path name="compress-offload-playback9 speaker" />
</path>
<path name="compress-offload-playback9 speaker-and-usb-headphones">
<path name="compress-offload-playback9 usb-headphones" />
<path name="compress-offload-playback9 speaker" />
</path>
<path name="compress-offload-playback9 speaker-and-headphones">
<path name="compress-offload-playback9 headphones" />
<path name="compress-offload-playback9 speaker" />
</path>
<path name="compress-offload-playback9 speaker-and-bt-a2dp">
<path name="compress-offload-playback9 bt-a2dp" />
<path name="compress-offload-playback9 speaker" />
</path>
<path name="compress-voip-call">
<ctl name="INT0_MI2S_RX_Voice Mixer Voip" value="1" />
<ctl name="Voip_Tx Mixer INT3_MI2S_TX_Voip" value="1" />
</path>
<path name="voicemmode1-call">
<ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
<ctl name="VoiceMMode1_Tx Mixer INT3_MI2S_TX_MMode1" value="1" />
</path>
<path name="voicemmode2-call">
<ctl name="INT0_MI2S_RX_Voice Mixer VoiceMMode2" value="1" />
<ctl name="VoiceMMode2_Tx Mixer INT3_MI2S_TX_MMode2" value="1" />
</path>
<path name="audio-playback-voip">
<ctl name="INT0_MI2S_RX Audio Mixer MultiMedia10" value="1" />
</path>
<path name="spkr-vi-record">
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="PRI_MI2S_TX" />
</path>
<path name="speaker">
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="PCM Source" value="DSP" />
<ctl name="ASP TX1 Source" value="DSPTX1" />
<ctl name="ASP TX2 Source" value="DSPTX1" />
<ctl name="ASPTX Ref" value="Ref" />
<ctl name="AMP PCM Gain" value="16" />
<!--
<ctl name="Cirrus SP Usecase" value="Music" />
<ctl name="Cirrus SP Volume Attenuation" value="-18dB" />
-->
</path>
<path name="speaker-mono">
<path name="speaker" />
</path>
<path name="speaker-mono-2">
<path name="speaker" />
</path>
<path name="voice-speaker">
<ctl name="DSP1 Firmware" value="Protection" />
<ctl name="PCM Source" value="DSP" />
<ctl name="ASP TX1 Source" value="DSPTX1" />
<ctl name="ASP TX2 Source" value="DSPTX1" />
<ctl name="ASPTX Ref" value="Ref" />
<ctl name="AMP PCM Gain" value="13" />
<!--
<ctl name="Cirrus SP Usecase" value="Handsfree" />
<ctl name="Cirrus SP Volume Attenuation" value="-18dB" />
-->
</path>
<path name="voice-speaker-protected">
<path name="speaker" />
</path>
<path name="speaker-mic">
<path name="adc3" />
<ctl name="ADC3 Volume" value="6" />
</path>
<path name="handset">
<ctl name="INT0_MI2S_RX SampleRate" value="KHZ_96" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RDAC2 MUX" value="RX1" />
<ctl name="EAR_S" value="Switch" />
<ctl name="INT0_MI2S_RX Channels" value="One" />
</path>
<path name="handset-mic">
<ctl name="INT3_MI2S_TX Channels" value="Two" />
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
</path>
<path name="headphones">
<ctl name="INT0_MI2S_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="RDAC2 MUX" value="RX2" />
<ctl name="RX HPH Mode" value="HD2" />
<ctl name="COMP0 RX1" value="0" />
<ctl name="COMP0 RX2" value="0" />
<ctl name="HPHL" value="Switch" />
<ctl name="HPHR" value="Switch" />
<ctl name="RX1 Digital Volume" value="80" />
<ctl name="RX2 Digital Volume" value="80" />
</path>
<path name="voice-headphones">
<path name="headphones" />
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="handset-mic-db">
<path name="adc1" />
</path>
<path name="handset-mic-cdp">
<path name="adc1" />
</path>
<path name="handset-mic-sbc">
<path name="adc1" />
</path>
<path name="handset-dmic-endfire">
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="INT3_MI2S_TX Channels" value="Two" />
<ctl name="Ultrasound Microphone Index" value="1" />
<ctl name="DEC1 Volume" value="84" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
</path>
<path name="speaker-dmic-endfire">
<ctl name="DEC1 MUX" value="ADC1" />
<ctl name="ADC1_INP1 Switch" value="1" />
<ctl name="DEC2 MUX" value="ADC2" />
<ctl name="ADC2 MUX" value="INP3" />
<ctl name="INT3_MI2S_TX Channels" value="Two" />
<ctl name="ADC1 Volume" value="6" />
<ctl name="ADC3 Volume" value="6" />
</path>
<path name="bt-a2dp">
<!--ctl name="BT SampleRate" value="KHZ_48" />
<ctl name="AFE Input Channels" value="Two" /-->
<ctl name="SLIM7_RX ADM Channels" value="Two" />
</path>
<path name="cirrus-sp-unload-firmware">
<!--<ctl name="RCV DSP Booted" value="0" /> -->
<ctl name="DSP Booted" value="0" />
<ctl name="DSP1 Preload Switch" value="0" />
</path>
<path name="cirrus-sp-diagnostic">
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Diag" />
<ctl name="Digital PCM Volume" value="817" />
<ctl name="AMP PCM Gain" value="16" />
<ctl name="DSP1 Preload Switch" value="1" />
</path>
<path name="cirrus-sp-diagnostic-quit">
<ctl name="DSP1 Preload Switch" value="1" />
<ctl name="PCM Source" value="DSP" />
<ctl name="DSP1 Firmware" value="Protection" />
</path>
</mixer>