From c8fdba343d5bc2849e8cd246e8ad87409dc4d76a Mon Sep 17 00:00:00 2001 From: Ruchit Marathe Date: Wed, 27 Jul 2022 19:26:09 +0530 Subject: [PATCH] sm7125: Fix audio on VOIP calls --- common.mk | 2 ++ configs/audio/audio_effects.conf | 4 ---- configs/audio/audio_effects.xml | 1 - vendor.prop | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/common.mk b/common.mk index 35e1755..55b9ea8 100644 --- a/common.mk +++ b/common.mk @@ -84,6 +84,8 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ SamsungDAP +TARGET_EXCLUDES_AUDIOFX := true + PRODUCT_COPY_FILES += \ $(COMMON_PATH)/configs/audio/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \ $(COMMON_PATH)/configs/audio/audio_configs_stock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs_stock.xml \ diff --git a/configs/audio/audio_effects.conf b/configs/audio/audio_effects.conf index 6cfb41c..367d810 100644 --- a/configs/audio/audio_effects.conf +++ b/configs/audio/audio_effects.conf @@ -224,10 +224,6 @@ effects { library downmix uuid 93f04452-e4fe-41cc-91f9-e475b6d1d69f } - hw_acc { - library offload_bundle - uuid 7d1580bd-297f-4683-9239-e475b6d1d69f - } loudness_enhancer { library loudness_enhancer uuid fa415329-2034-4bea-b5dc-5b381c8d1e2c diff --git a/configs/audio/audio_effects.xml b/configs/audio/audio_effects.xml index ea32917..1e83989 100644 --- a/configs/audio/audio_effects.xml +++ b/configs/audio/audio_effects.xml @@ -78,7 +78,6 @@ - diff --git a/vendor.prop b/vendor.prop index 8aa5b47..1668656 100644 --- a/vendor.prop +++ b/vendor.prop @@ -42,7 +42,7 @@ vendor.audio.enable.mirrorlink=false persist.vendor.audio.voicecall.speaker.stereo=true vendor.audio.feature.spkr_prot.enable=true vendor.audio.feature.a2dp_offload.enable=true -vendor.audio.feature.compr_voip.enable=true +vendor.audio.feature.compr_voip.enable=false vendor.audio.feature.compress_meta_data.enable=true vendor.audio.feature.deepbuffer_as_primary.enable=true vendor.audio.feature.display_port.enable=true