summaryrefslogtreecommitdiff
path: root/qcom
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2020-09-28 12:43:59 +0530
committerAmit Pundir <amit.pundir@linaro.org>2020-11-18 21:30:18 +0530
commite6732bb951290bc8cdf8241dde06b0195fde6ea8 (patch)
tree2200b77d698424d9dd209475c37eb01bdea9f270 /qcom
parent6e1a73e3ae7bcc31248b4fee9f7e5b4fa0cee3bb (diff)
audio: Kang audio HAL from amlogic yukawa device
Copied from device/amlogic/generic/hal/audio/ minus the speaker equalizer filter file. It is a generic and more feature rich HAL, plus it fixes the occasional static noise we hear on db845c and PocoF1. Removed the mixer control settings from qcom/init.qcom.rc and added HDMI out mixer control in etc/mixer_paths.xml to start with. ** Analog audio out is not tested yet. ** ToDo: 1. Fallback to Analog audio port if the monitor doesn't support HDMI audio out. 2. Mic AEC support is integrated deep in this HAL, so I didn't remove it. Might as well test and use that feature on Pixel 3 and Poco F1. Same with speaker EQ, though we may end up never using this equalizer feature at all. Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Change-Id: I85614abdd684ab67f405f4c0e48380668ade4e06
Diffstat (limited to 'qcom')
-rw-r--r--qcom/init.qcom.rc25
1 files changed, 0 insertions, 25 deletions
diff --git a/qcom/init.qcom.rc b/qcom/init.qcom.rc
index 94e9038..f97b502 100644
--- a/qcom/init.qcom.rc
+++ b/qcom/init.qcom.rc
@@ -32,31 +32,6 @@ on early-init
on post-fs
start pd_mapper
- exec - root -- /system/bin/sleep 1
- exec - system audio -- /system/bin/tinymix "QUAT_MI2S_RX Audio Mixer MultiMedia1" 1
- exec - system audio -- /system/bin/tinymix "QUAT_MI2S_RX Audio Mixer MultiMedia2" 1
- exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" AIF1_PB
- exec - system audio -- /system/bin/tinymix "SLIM RX0 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX1 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX2 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX3 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX4 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX5 MUX" ZERO
- exec - system audio -- /system/bin/tinymix "SLIM RX6 MUX" AIF1_PB
- exec - system audio -- /system/bin/tinymix "SLIM RX7 MUX" AIF1_PB
- exec - system audio -- /system/bin/tinymix "RX INT7_1 MIX1 INP0" RX6
- exec - system audio -- /system/bin/tinymix "RX INT8_1 MIX1 INP0" RX7
- exec - system audio -- /system/bin/tinymix "COMP7 Switch" 1
- exec - system audio -- /system/bin/tinymix "COMP8 Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrLeft COMP Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrLeft BOOST Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrLeft VISENSE Switch" 0
- exec - system audio -- /system/bin/tinymix "SpkrLeft DAC Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrRight COMP Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrRight BOOST Switch" 1
- exec - system audio -- /system/bin/tinymix "SpkrRight VISENSE Switch" 0
- exec - system audio -- /system/bin/tinymix "SpkrRight DAC Switch" 1
- exec - system audio -- /system/bin/tinymix "SLIMBUS_0_RX Audio Mixer MultiMedia2" 1
on post-fs-data
mkdir /data/vendor