summaryrefslogtreecommitdiff
path: root/device-common.mk
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 /device-common.mk
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 'device-common.mk')
-rw-r--r--device-common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/device-common.mk b/device-common.mk
index de39035..88d4221 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -119,6 +119,7 @@ PRODUCT_PACKAGES += \
# audio policy configuration
USE_XML_AUDIO_POLICY_CONF := 1
PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/etc/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
$(LOCAL_PATH)/etc/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
$(LOCAL_PATH)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \