From 14b086d32f917816eeb9dd81633eba3e71bc1458 Mon Sep 17 00:00:00 2001 From: SaschaNes Date: Wed, 6 Aug 2025 23:32:34 +0200 Subject: [PATCH] audio fixups --- e3q-vendor.mk | 1 + .../vendor/etc/audio_policy_configuration.xml | 558 +++--------------- ...hearing_aid_audio_policy_configuration.xml | 38 ++ 3 files changed, 117 insertions(+), 480 deletions(-) create mode 100644 proprietary/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml diff --git a/e3q-vendor.mk b/e3q-vendor.mk index 820356b..1be4522 100644 --- a/e3q-vendor.mk +++ b/e3q-vendor.mk @@ -6,6 +6,7 @@ PRODUCT_SOONG_NAMESPACES += \ vendor/samsung/e3q PRODUCT_COPY_FILES += \ + vendor/samsung/e3q/proprietary/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \ vendor/samsung/e3q/proprietary/product/etc/permissions/UimService.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/UimService.xml \ vendor/samsung/e3q/proprietary/system_ext/etc/dpm/dpm.conf:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/dpm/dpm.conf \ vendor/samsung/e3q/proprietary/vendor/etc/DsgpPolicy.csv:$(TARGET_COPY_OUT_VENDOR)/etc/DsgpPolicy.csv \ diff --git a/proprietary/vendor/etc/audio_policy_configuration.xml b/proprietary/vendor/etc/audio_policy_configuration.xml index 911dbf7..96d4fa5 100644 --- a/proprietary/vendor/etc/audio_policy_configuration.xml +++ b/proprietary/vendor/etc/audio_policy_configuration.xml @@ -1,528 +1,126 @@ - - - - - - - - - - - - - - + + + - - + Earpiece Speaker - Telephony Tx Built-In Mic Built-In Back Mic - FM Tuner - Telephony Rx - Echo Reference + Voice Call Mic Speaker - - + + - - + + - - + + - - - - - + + - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - + - - + + - + + + + + + Remote Submix In + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + diff --git a/proprietary/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml b/proprietary/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml new file mode 100644 index 0000000..ef87d51 --- /dev/null +++ b/proprietary/vendor/etc/bluetooth_hearing_aid_audio_policy_configuration.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + +