From fedc87f8924f87088e68da53f774d8dc9ab52a1e Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Thu, 25 Nov 2021 17:35:14 +0000 Subject: [PATCH] sm6250-common: audio: Use stock audio_policy_volumes.xml * Stock changes are actually needed here. * This reverts commit aff1d9eb0b07e044584118066e4ded34921f0a02 also reverting commit e74d1037860cf175a52826de9b92f13a965f5cd6. Change-Id: Ib6a70ac78d3041ebb7a14406a945a6a24dcd8b0b --- atoll.mk | 1 - audio/audio_policy_volumes.xml | 219 +++++++++++++++++++++++++++++++++ 2 files changed, 219 insertions(+), 1 deletion(-) create mode 100644 audio/audio_policy_volumes.xml diff --git a/atoll.mk b/atoll.mk index 42f38be..cd3b06e 100644 --- a/atoll.mk +++ b/atoll.mk @@ -74,7 +74,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \ diff --git a/audio/audio_policy_volumes.xml b/audio/audio_policy_volumes.xml new file mode 100644 index 0000000..80e532a --- /dev/null +++ b/audio/audio_policy_volumes.xml @@ -0,0 +1,219 @@ + + + + + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + + + + + + 1,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + 1,-5600 + 33,-4500 + 73,-1300 + 100,0 + + + + + + + + 0,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + + 1,-2970 + 33,-2010 + 66,-1020 + 100,0 + + + + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + 0,-2400 + 33,-1600 + 66,-800 + 100,0 + + + 0,-4200 + 33,-2800 + 66,-1400 + 100,0 + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + + + + + 1,-3000 + 33,-2600 + 66,-2200 + 100,-1800 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +