From f5bd1f1e7d85181a3dceaa9cbc1bf45b3eff606e Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 1 Jun 2023 07:15:16 +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 - set "AoC Chirp Enable" in "speaker-earpiece (VOICE)" Bug: 206737711 Test: mm Change-Id: Iafedbc05b75b689f2dd3bb55792f282ca39e7c21 --- .../audio_policy_configuration.xml | 215 ------------------ audio/husky/aidl_config/mixer_paths_aidl.xml | 65 +++++- audio/husky/audio-tables.mk | 1 - .../audio_policy_configuration.xml | 215 ------------------ audio/shiba/aidl_config/mixer_paths_aidl.xml | 65 +++++- audio/shiba/audio-tables.mk | 1 - 6 files changed, 120 insertions(+), 442 deletions(-) delete mode 100644 audio/husky/aidl_config/audio_policy_configuration.xml delete mode 100644 audio/shiba/aidl_config/audio_policy_configuration.xml diff --git a/audio/husky/aidl_config/audio_policy_configuration.xml b/audio/husky/aidl_config/audio_policy_configuration.xml deleted file mode 100644 index c93d1cb..0000000 --- a/audio/husky/aidl_config/audio_policy_configuration.xml +++ /dev/null @@ -1,215 +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/husky/aidl_config/mixer_paths_aidl.xml b/audio/husky/aidl_config/mixer_paths_aidl.xml index 8b2b0e4..9dfffab 100644 --- a/audio/husky/aidl_config/mixer_paths_aidl.xml +++ b/audio/husky/aidl_config/mixer_paths_aidl.xml @@ -79,8 +79,8 @@ - - + + @@ -97,6 +97,8 @@ + + @@ -315,6 +317,7 @@ + @@ -657,9 +660,41 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -679,6 +714,7 @@ + @@ -686,6 +722,8 @@ + + @@ -697,6 +735,8 @@ + + @@ -713,6 +753,7 @@ + @@ -721,6 +762,7 @@ + @@ -778,6 +820,19 @@ + + + + + + + + + + + + + diff --git a/audio/husky/audio-tables.mk b/audio/husky/audio-tables.mk index 0248b04..c177750 100644 --- a/audio/husky/audio-tables.mk +++ b/audio/husky/audio-tables.mk @@ -21,7 +21,6 @@ AUDIO_TABLE_FOLDER := husky ifeq ($(BUILD_AUDIO_AIDL_VERSION),true) PRODUCT_COPY_FILES += \ - device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml diff --git a/audio/shiba/aidl_config/audio_policy_configuration.xml b/audio/shiba/aidl_config/audio_policy_configuration.xml deleted file mode 100644 index c93d1cb..0000000 --- a/audio/shiba/aidl_config/audio_policy_configuration.xml +++ /dev/null @@ -1,215 +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/shiba/aidl_config/mixer_paths_aidl.xml b/audio/shiba/aidl_config/mixer_paths_aidl.xml index 8b2b0e4..9dfffab 100644 --- a/audio/shiba/aidl_config/mixer_paths_aidl.xml +++ b/audio/shiba/aidl_config/mixer_paths_aidl.xml @@ -79,8 +79,8 @@ - - + + @@ -97,6 +97,8 @@ + + @@ -315,6 +317,7 @@ + @@ -657,9 +660,41 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -679,6 +714,7 @@ + @@ -686,6 +722,8 @@ + + @@ -697,6 +735,8 @@ + + @@ -713,6 +753,7 @@ + @@ -721,6 +762,7 @@ + @@ -778,6 +820,19 @@ + + + + + + + + + + + + + diff --git a/audio/shiba/audio-tables.mk b/audio/shiba/audio-tables.mk index 508e15a..b1d8cbc 100644 --- a/audio/shiba/audio-tables.mk +++ b/audio/shiba/audio-tables.mk @@ -21,7 +21,6 @@ AUDIO_TABLE_FOLDER := shiba ifeq ($(BUILD_AUDIO_AIDL_VERSION),true) PRODUCT_COPY_FILES += \ - device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_platform_configuration_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration_aidl.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ device/google/shusky/audio/$(AUDIO_TABLE_FOLDER)/aidl_config/mixer_paths_aidl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_aidl.xml