From d1a5bc18c741c455ec1b5354a9aaefea0267964a Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Sun, 23 May 2021 13:37:01 +0900 Subject: [PATCH] gts3l: audio: (WIP) Build only for 32 bit and remove unsupported flags Signed-off-by: Deokgyu Yang Change-Id: Iae8c799af7af6ae39bf46e70389f14cd72448d36 --- BoardConfig.mk | 2 -- device.mk | 12 +++++------- system.prop | 2 -- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 06a1afe..57339c2 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -83,7 +83,6 @@ 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_HW_ACCELERATED_EFFECTS := false AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE := true AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true @@ -96,7 +95,6 @@ AUDIO_FEATURE_ENABLED_SND_MONITOR := true AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true AUDIO_FEATURE_ENABLED_VOICE_CONCURRENCY :=true AUDIO_FEATURE_ENABLED_VORBIS_OFFLOAD := true -AUDIO_FEATURE_ENABLED_SPKR_PROTECTION := true AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true BOARD_SUPPORTS_SOUND_TRIGGER := false BOARD_USES_ALSA_AUDIO := true diff --git a/device.mk b/device.mk index d837226..cb039f5 100755 --- a/device.mk +++ b/device.mk @@ -93,23 +93,21 @@ PRODUCT_PACKAGES += \ # Audio PRODUCT_PACKAGES += \ android.hardware.audio@2.0-service \ - android.hardware.audio@5.0-impl \ - android.hardware.audio.effect@5.0-impl \ - android.hardware.bluetooth.audio@2.0-impl \ - android.hardware.soundtrigger@2.1-impl \ + android.hardware.audio@5.0-impl:32 \ + android.hardware.audio.effect@5.0-impl:32 \ + android.hardware.bluetooth.audio@2.0-impl:32 \ + android.hardware.soundtrigger@2.1-impl:32 \ audio.a2dp.default \ audio.bluetooth.default \ - audio.primary.msm8996 \ + audio.primary.msm8996:32 \ audio.r_submix.default \ audio.usb.default \ libaacwrapper \ libaudio-resampler \ libaudioroute \ - libhfp \ libqcompostprocbundle \ libqcomvisualizer \ libqcomvoiceprocessing \ - libspkrprot \ libvolumelistener \ tinymix diff --git a/system.prop b/system.prop index cc0120e..a1b7edd 100755 --- a/system.prop +++ b/system.prop @@ -17,9 +17,7 @@ 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.hfp.enable=true vendor.audio.feature.kpi_optimize.enable=true vendor.audio.feature.maxx_audio.enable=false vendor.audio.feature.multi_voice_session.enable=true