Compile open source sound FX modules

Change-Id: Iec50a263c8015dba798c574b4969d3d37b0004bc
This commit is contained in:
bgcngm 2021-07-10 17:10:47 +02:00 committed by Giammarco Senatore
parent 5ecfc24cdd
commit 1f9b91cca3
No known key found for this signature in database
GPG key ID: 661348FC1E144F04
2 changed files with 9 additions and 5 deletions

View file

@ -40,14 +40,14 @@ TARGET_KERNEL_ARCH := arm64
TARGET_KERNEL_VERSION := 4.9
# Audio
#USE_CUSTOM_AUDIO_POLICY := 1
USE_XML_AUDIO_POLICY_CONF := 1
USE_CUSTOM_AUDIO_POLICY := 1
AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true
AUDIO_FEATURE_ENABLED_FM_POWER_OPT := true
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
BOARD_SUPPORTS_SOUND_TRIGGER := true
# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
BOARD_HAVE_BLUETOOTH_QCOM := true
TARGET_USE_QTI_BT_STACK := true
# Camera
TARGET_USES_QTI_CAMERA_DEVICE := true

View file

@ -29,7 +29,11 @@ PRODUCT_PACKAGES += \
android.hardware.audio.effect@2.0-impl \
android.hardware.audio.effect@4.0-impl \
android.hardware.soundtrigger@2.1-impl \
audio.a2dp.default
audio.a2dp.default \
libqcompostprocbundle \
libqcomvisualizer \
libqcomvoiceprocessing \
libvolumelistener
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \