From ec5fddb3d27b8d4718ee37c71f6da66fdfd3ed38 Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 1 Jun 2023 07:20:50 +0000 Subject: [PATCH] audio: update audio AIDL config files - remove audio_policy_configuration.xml - add in-call-capture paths - add "PCM Soft Ramp" for speaker amp - set default "Digital PCM Volume" to 0 Bug: 206737711 Test: mm Change-Id: Id9de5d3fa823f996d127adf64cca9201f11ecd0f --- .../audio_policy_configuration.xml | 213 ------------------ audio/lynx/aidl_config/mixer_paths_aidl.xml | 62 ++++- audio/lynx/audio-tables.mk | 1 - 3 files changed, 51 insertions(+), 225 deletions(-) delete mode 100644 audio/lynx/aidl_config/audio_policy_configuration.xml diff --git a/audio/lynx/aidl_config/audio_policy_configuration.xml b/audio/lynx/aidl_config/audio_policy_configuration.xml deleted file mode 100644 index cd60b23..0000000 --- a/audio/lynx/aidl_config/audio_policy_configuration.xml +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - Speaker - Speaker Safe - Earpiece - Built-In Mic - Built-In Back Mic - Telephony Tx - Voice Call And Telephony Rx - Echo Ref In - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/audio/lynx/aidl_config/mixer_paths_aidl.xml b/audio/lynx/aidl_config/mixer_paths_aidl.xml index fb09ac8..3880462 100644 --- a/audio/lynx/aidl_config/mixer_paths_aidl.xml +++ b/audio/lynx/aidl_config/mixer_paths_aidl.xml @@ -79,8 +79,8 @@ - - + + @@ -97,6 +97,8 @@ + + @@ -657,9 +659,41 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -679,6 +713,7 @@ + @@ -686,6 +721,7 @@ + @@ -697,6 +733,8 @@ + + @@ -713,6 +751,7 @@ + @@ -721,6 +760,7 @@ + @@ -779,12 +819,12 @@ - - - - - - + + + + + + diff --git a/audio/lynx/audio-tables.mk b/audio/lynx/audio-tables.mk index f8c1da5..ba193ec 100644 --- a/audio/lynx/audio-tables.mk +++ b/audio/lynx/audio-tables.mk @@ -21,7 +21,6 @@ AUDIO_TABLE_FOLDER := lynx ifeq ($(BUILD_AUDIO_AIDL_VERSION),true) PRODUCT_COPY_FILES += \ - device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml