sm6250-common: build audio stack from source

This commit is contained in:
Volodymyr Zhdanov 2020-09-15 15:28:55 +03:00 committed by Demon000
parent 7383b2b4a0
commit c034f3b609
2 changed files with 41 additions and 1 deletions

View File

@ -27,6 +27,11 @@ AUDIO_FEATURE_ENABLED_HDMI_SPK := true
AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true
#AUDIO_FEATURE_ENABLED_AHAL_EXT := true
AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT := true
AUDIO_FEATURE_ENABLED_GEF_SUPPORT := true
BOARD_SUPPORTS_SOUND_TRIGGER := true
BOARD_USES_ALSA_AUDIO := true
# Audio policy
USE_CUSTOM_AUDIO_POLICY := 1
USE_XML_AUDIO_POLICY_CONF := 1

View File

@ -25,7 +25,35 @@ PRODUCT_SHIPPING_API_LEVEL := 29
# Audio
PRODUCT_PACKAGES += \
libvolumelistener
libvolumelistener \
libqcomvisualizer \
libqcomvoiceprocessing \
libqcompostprocbundle
PRODUCT_PACKAGES += \
audio.primary.atoll \
audio.a2dp.default \
audio.usb.default \
audio.r_submix.default \
libaudio-resampler \
libtinycompress
PRODUCT_PACKAGES += \
android.hardware.audio@5.0-impl:32 \
android.hardware.audio.effect@5.0-impl:32 \
android.hardware.soundtrigger@2.2-impl \
android.hardware.audio@2.0-service
PRODUCT_PACKAGES += \
liba2dpoffload \
libbatterylistener \
libcirrusspkrprot \
libcomprcapture \
libexthwplugin \
libhdmiedid \
libhfp \
libsndmonitor \
libspkrprot
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
@ -53,8 +81,15 @@ PRODUCT_PACKAGES += \
# Bluetooth
PRODUCT_PACKAGES += \
audio.bluetooth.default \
libbthost_if \
BluetoothQti
PRODUCT_PACKAGES += \
android.hardware.bluetooth.audio@2.0-impl \
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
vendor.qti.hardware.btconfigstore@1.0.vendor
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml