Skip to content

Instantly share code, notes, and snippets.

@mxvin
Created April 13, 2023 23:19
Show Gist options
  • Save mxvin/b6837b47eccce9197c3d673b5bc49fcf to your computer and use it in GitHub Desktop.
Save mxvin/b6837b47eccce9197c3d673b5bc49fcf to your computer and use it in GitHub Desktop.
tissot mixer_paths_mtp.xml fix muffled microphone when on voice speaker mode / voice-speaker-dmic-ef
LineageOS bsp: https://github.com/LineageOS/android_device_xiaomi_tissot/blob/lineage-19.1/audio/mixer_paths_mtp.xml
diff --git a/mixer_paths_mtp.xml.orig b/mixer_paths_mtp.xml
index 30a9cec..ecb8bd9 100644
--- a/mixer_paths_mtp.xml.orig
+++ b/mixer_paths_mtp.xml
@@ -1673,12 +1673,7 @@
</path>
<path name="voice-speaker-dmic-ef">
- <ctl name="MI2S_TX Channels" value="Two" />
- <ctl name="ADC3 Volume" value="6" />
- <ctl name="DEC1 MUX" value="ADC2" />
- <ctl name="ADC2 MUX" value="INP3" />
- <ctl name="ADC1 Volume" value="6" />
- <ctl name="DEC2 MUX" value="ADC1" />
+ <path name="speaker-dmic-endfire" />
</path>
<path name="voice-rec-dmic-ef">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment