From 36eb59d6aacb3fe7055f3f70e1087d5f8184409e Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Fri, 21 May 2021 16:37:02 +0900 Subject: [PATCH] gts3l: audio: (WIP) Try to fix audio Signed-off-by: Deokgyu Yang Change-Id: I5c7ff4d5a3ac61a81a618568b43a13c42fc60961 --- BoardConfig.mk | 10 ++++++++++ device.mk | 3 --- system.prop | 11 +++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index d1840ff..9765c86 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,17 +68,27 @@ TARGET_BOARD_PLATFORM_GPU := qcom-adreno530 BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl" # Audio +AUDIO_FEATURE_ENABLED_A2DP_OFFLOAD := true AUDIO_FEATURE_ENABLED_ACDB_LICENSE := true AUDIO_FEATURE_ENABLED_ALAC_OFFLOAD := true AUDIO_FEATURE_ENABLED_ANC_HEADSET := true +AUDIO_FEATURE_ENABLED_APE_OFFLOAD := true AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true AUDIO_FEATURE_ENABLED_COMPRESS_VOIP := true +AUDIO_FEATURE_ENABLED_CUSTOMSTEREO := true AUDIO_FEATURE_ENABLED_DEV_ARBI := true +AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := false +AUDIO_FEATURE_ENABLED_DTS_EAGLE := false AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true AUDIO_FEATURE_ENABLED_EXTN_FORMATS := true AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD := true AUDIO_FEATURE_ENABLED_FLUENCE := true AUDIO_FEATURE_ENABLED_HFP := true +AUDIO_FEATURE_ENABLED_HDMI_EDID := true +AUDIO_FEATURE_ENABLED_HDMI_PASSTHROUGH := true +AUDIO_FEATURE_ENABLED_HDMI_SPK := true +AUDIO_FEATURE_ENABLED_HIFI_AUDIO := true +AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true AUDIO_FEATURE_ENABLED_NT_PAUSE_TIMEOUT := true diff --git a/device.mk b/device.mk index 2f2154e..f401da6 100755 --- a/device.mk +++ b/device.mk @@ -96,7 +96,6 @@ PRODUCT_PACKAGES += \ android.hardware.audio@5.0-impl.gts3l \ android.hardware.audio.effect@5.0-impl \ android.hardware.bluetooth.audio@2.0-impl \ - audio.a2dp.default \ audio.bluetooth.default \ audio.primary.msm8996:32 \ audio.r_submix.default \ @@ -104,13 +103,11 @@ PRODUCT_PACKAGES += \ cplay \ liba2dpoffload \ libaudioroute \ - libldacBT_dec \ libhdmiedid \ libhfp \ libqcompostprocbundle \ libqcomvisualizer \ libqcomvoiceprocessing \ - libsndmonitor \ libspkrprot \ libvolumelistener diff --git a/system.prop b/system.prop index 8c68f0f..ffb57b7 100755 --- a/system.prop +++ b/system.prop @@ -15,6 +15,17 @@ persist.vendor.audio.fluence.voicerec=false persist.vendor.audio.fluence.speaker=true persist.vendor.audio.hw.binder.size_kbyte=1024 vendor.audio.feature.a2dp_offload.enable=true +vendor.audio.feature.anc_headset.enable=true +vendor.audio.feature.afe_proxy.enable=true +vendor.audio.feature.spkr_prot.enable=true +vendor.audio.feature.custom_stereo.enable=true +vendor.audio.feature.hdmi_edid.enable=true +vendor.audio.feature.hdmi_passthrough.enable=true +vendor.audio.feature.hfp.enable=true +vendor.audio.feature.hifi_audio.enable=true +vendor.audio.feature.kpi_optimize.enable=true +vendor.audio.feature.maxx_audio.enable=false +vendor.audio.feature.multi_voice_session.enable=true vendor.audio_hal.period_size=192 vendor.audio.tunnel.encode=false vendor.audio.offload.buffer.size.kb=64