back to SM-T320 mixer, fix video recording

This commit is contained in:
Valera1978 2020-05-26 11:21:50 +03:00
parent 949d22db81
commit 0a2ae82e4c

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<mixer>
<!-- SM-T325 EUR (Mondrian LTE) ======================================= -->
<!-- SM-T320 EUR (Mondrian wifi) ======================================= -->
<!-- These are the initial mixer settings -->
<!-- reset RX part -->
<ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0" />
@ -75,8 +75,6 @@
<ctl name="SPK DRV Volume" value="0" />
<ctl name="EAR PA Gain" value="POS_0_DB" />
<ctl name="DAC1 Switch" value="0" />
<ctl name="COMP0 Switch" value="0" />
@ -267,14 +265,6 @@
<!-- ================================================================ -->
<!-- Device -->
<!-- RX part -->
<path name="rcv">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="One" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="CLASS_H_DSM MUX" value="DSM_HPHL_RX1" />
<ctl name="DAC1 Switch" value="1" />
</path>
<path name="spk">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
@ -309,48 +299,16 @@
<ctl name="DEC6 MUX" value="ADC1" />
</path>
<path name="sub-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
</path>
<path name="ear-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="One" />
<ctl name="SLIM TX7 MUX" value="DEC5" />
<ctl name="DEC5 MUX" value="ADC2" />
</path>
<path name="main-sub-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="SLIM TX8 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
</path>
<path name="sub-main-mic">
<ctl name="AIF1_CAP Mixer SLIM TX7" value="1" />
<ctl name="SLIM_0_TX Channels" value="Two" />
<ctl name="SLIM TX7 MUX" value="DEC3" />
<ctl name="DEC3 MUX" value="ADC4" />
<ctl name="AIF1_CAP Mixer SLIM TX8" value="1" />
<ctl name="SLIM TX8 MUX" value="DEC6" />
<ctl name="DEC6 MUX" value="ADC1" />
</path>
<!-- end of Device -->
<!-- ================================================================ -->
<!-- Play Scenario -->
<path name="handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="82" />
@ -363,8 +321,8 @@
<path name="ear" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="77" />
<ctl name="RX2 Digital Volume" value="77" />
<ctl name="RX1 Digital Volume" value="80" />
<ctl name="RX2 Digital Volume" value="80" />
<ctl name="COMP1 Switch" value="1" />
</path>
@ -424,51 +382,23 @@
<ctl name="DEC6 Volume" value="83" />
</path>
<path name="rec-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="14" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="rec-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="72" />
</path>
<path name="rec-stereo-mic">
<path name="main-sub-mic" />
<ctl name="ADC1 Volume" value="11" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="ADC4 Volume" value="9" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="rec-high-gain-main-mic">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="11" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="rec-high-gain-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="94" />
</path>
<path name="rec-high-gain-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="14" />
<ctl name="DEC5 Volume" value="84" />
</path>
<path name="rec-high-gain-stereo-mic">
<path name="main-sub-mic" />
<ctl name="ADC1 Volume" value="19" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="84" />
</path>
<!-- end of Recording Scenario -->
<!-- ================================================================ -->
@ -479,16 +409,10 @@
<ctl name="DEC6 Volume" value="90" />
</path>
<path name="vr-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="11" />
<ctl name="DEC3 Volume" value="80" />
</path>
<path name="vr-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="12" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="ADC2 Volume" value="11" />
<ctl name="DEC5 Volume" value="80" />
</path>
<path name="bargein1-main-mic">
@ -497,12 +421,6 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="bargein1-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="13" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="bargein1-earphone-mic">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
@ -521,12 +439,6 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="bargein2-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="13" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="bargein2-earphone-mic">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="12" />
@ -543,38 +455,20 @@
<!-- ================================================================ -->
<!-- Voice call Scenario -->
<!-- RX part -->
<path name="voice-call-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voice-call-handset-extra-vol">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voice-call-handset-hac">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voice-call-speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="LINEOUT3 Volume" value="20" />
<ctl name="LINEOUT4 Volume" value="20" />
<ctl name="LINEOUT3 Volume" value="19" />
<ctl name="LINEOUT4 Volume" value="19" />
</path>
<path name="voice-call-speaker-extra-vol">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
<ctl name="RX6 Digital Volume" value="84" />
<ctl name="LINEOUT3 Volume" value="20" />
<ctl name="LINEOUT4 Volume" value="20" />
<ctl name="LINEOUT3 Volume" value="19" />
<ctl name="LINEOUT4 Volume" value="19" />
</path>
<path name="voice-call-headset">
@ -597,63 +491,24 @@
<path name="main-mic" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="Main Mic Delay" value="2" />
</path>
<path name="voice-call-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voice-call-headphone-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voice-call-headset-mic">
<path name="ear-mic" />
<ctl name="ADC2 Volume" value="12" />
<ctl name="DEC5 Volume" value="84" />
<ctl name="IIR1 INP1 MUX" value="DEC5" />
<ctl name="RX1 MIX2 INP1" value="IIR1" />
<ctl name="RX2 MIX2 INP1" value="IIR1" />
<ctl name="IIR1 INP1 Volume" value="62" />
</path>
<path name="voice-call-NS-mic-handset">
<path name="sub-main-mic" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voice-call-NS-mic-speaker">
<path name="main-sub-mic" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="DEC6 Volume" value="84" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<!-- end of Voice call Scenario -->
<!-- ================================================================ -->
<!-- Video call Scenario -->
<!-- RX part -->
<path name="video-call-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_6_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="video-call-handset-extra-vol">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="video-call-speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -692,16 +547,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="video-call-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="12" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="video-call-headphone-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="12" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="video-call-headset-mic">
@ -714,18 +563,6 @@
<!-- ================================================================ -->
<!-- VoLTE Voice call Scenario -->
<!-- RX part -->
<path name="VoLTE-voice-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="VoLTE-voice-handset-extra-vol">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="VoLTE-voice-speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -750,13 +587,6 @@
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="VoLTE-voice-dock">
<path name="lineout" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT1 Volume" value="19" />
<ctl name="LINEOUT2 Volume" value="19" />
</path>
<!-- TX part -->
<path name="VoLTE-voice-main-mic">
<path name="main-mic" />
@ -764,16 +594,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="VoLTE-voice-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="VoLTE-voice-headphone-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="VoLTE-voice-headset-mic">
@ -786,18 +610,6 @@
<!-- ================================================================ -->
<!-- VoLTE Video call Scenario -->
<!-- RX part -->
<path name="VoLTE-video-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="VoLTE-video-handset-extra-vol">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="VoLTE-video-speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -822,13 +634,6 @@
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="VoLTE-video-dock">
<path name="lineout" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="LINEOUT1 Volume" value="19" />
<ctl name="LINEOUT2 Volume" value="19" />
</path>
<!-- TX part -->
<path name="VoLTE-video-main-mic">
<path name="main-mic" />
@ -836,16 +641,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="VoLTE-video-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="VoLTE-video-headphone-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="VoLTE-video-headset-mic">
@ -858,18 +657,6 @@
<!-- ================================================================ -->
<!-- TTY Scenario -->
<!-- RX part -->
<path name="TTY-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="TTY-handset-extra-vol">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="TTY-headset">
<path name="ear" />
<ctl name="HPHL Volume" value="20" />
@ -909,12 +696,6 @@
<!-- ================================================================ -->
<!-- VoIP Scenario -->
<!-- RX part -->
<path name="voip-handset-comm">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voip-speaker-comm">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -932,12 +713,6 @@
<ctl name="RX2 Digital Volume" value="88" />
</path>
<path name="voip-handset-others">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voip-speaker-others">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -955,12 +730,6 @@
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="voip-handset-chaton">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voip-speaker-chaton">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -977,12 +746,6 @@
<ctl name="RX2 Digital Volume" value="84" />
</path>
<path name="voip-handset-carrier">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="voip-speaker-carrier">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -1038,16 +801,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-sub-mic-comm">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="12" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voip-headphone-mic-comm">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="12" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-comm">
@ -1062,16 +819,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-sub-mic-others">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voip-headphone-mic-others">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-others">
@ -1086,16 +837,10 @@
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-sub-mic-chaton">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voip-headphone-mic-chaton">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-chaton">
@ -1106,20 +851,14 @@
<path name="voip-main-mic-carrier">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-sub-mic-carrier">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
</path>
<path name="voip-headphone-mic-carrier">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-carrier">
@ -1135,9 +874,9 @@
</path>
<path name="voip-headphone-mic-callforwarding">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-callforwarding">
@ -1153,9 +892,9 @@
</path>
<path name="voip-headphone-mic-webex">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="16" />
<ctl name="DEC3 Volume" value="84" />
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="voip-headset-mic-webex">
@ -1168,12 +907,6 @@
<!-- ================================================================ -->
<!-- Factory Scenario -->
<!-- RX part -->
<path name="loopback-handset-DSP">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="87" />
</path>
<path name="loopback-speaker-DSP">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="82" />
@ -1190,12 +923,6 @@
<ctl name="RX2 Digital Volume" value="65" />
</path>
<path name="loopback-handset">
<path name="rcv" />
<ctl name="EAR PA Gain" value="POS_3_DB" />
<ctl name="RX1 Digital Volume" value="84" />
</path>
<path name="loopback-speaker">
<path name="spk" />
<ctl name="RX4 Digital Volume" value="84" />
@ -1219,12 +946,6 @@
<ctl name="DEC6 Volume" value="77" />
</path>
<path name="loopback-sub-mic-DSP">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="11" />
<ctl name="DEC3 Volume" value="88" />
</path>
<path name="loopback-headphone-mic-DSP">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
@ -1243,12 +964,6 @@
<ctl name="DEC6 Volume" value="74" />
</path>
<path name="loopback-sub-mic">
<path name="sub-mic" />
<ctl name="ADC4 Volume" value="19" />
<ctl name="DEC3 Volume" value="88" />
</path>
<path name="loopback-headphone-mic">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="19" />
@ -1341,8 +1056,34 @@
<path name="speaker-and-headphones" />
</path>
<path name="rec-high-gain-stereo-mic">
<path name="main-mic" />
<ctl name="ADC1 Volume" value="17" />
<ctl name="DEC6 Volume" value="84" />
</path>
<path name="rec-stereo-mic">
<path name="rec-main-mic" />
</path>
<path name="echo-reference">
<ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_RX" />
</path>
<!-- Compatibility with other tabpro devices -->
<path name="voice-call-handset">
<path name="speaker" />
</path>
<path name="rec-sub-mic">
<path name="rec-main-mic"/>
</path>
<path name="voice-call-sub-mic">
<path name="voice-call-main-mic"/>
</path>
<path name="vr-sub-mic">
<path name="vr-main-mic"/>
</path>
</mixer>