sweet: Add prebuilt audio HAL
Change-Id: I889bf86fab97e704c33d0ce0c9f831a99ad33925
This commit is contained in:
parent
51954cc1c6
commit
5c82ac57ee
@ -9,6 +9,9 @@ include device/xiaomi/sm6150-common/BoardConfigCommon.mk
|
||||
|
||||
DEVICE_PATH := device/xiaomi/sweet
|
||||
|
||||
# Audio
|
||||
TARGET_PROVIDES_AUDIO_EXTNS := true
|
||||
|
||||
# Kernel
|
||||
TARGET_KERNEL_CONFIG := sweet_user_defconfig
|
||||
|
||||
|
@ -16,6 +16,10 @@ $(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk)
|
||||
# API level, the device has been commercially launched on
|
||||
PRODUCT_SHIPPING_API_LEVEL := 30
|
||||
|
||||
# Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libtinycompress
|
||||
|
||||
# Fstab
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom \
|
||||
|
@ -27,3 +27,17 @@ vendor/firmware/awinic/aw882xx_rcv_reg_l.bin
|
||||
vendor/firmware/awinic/aw882xx_rcv_reg_r.bin
|
||||
vendor/firmware/awinic/aw882xx_spk_reg_l.bin
|
||||
vendor/firmware/awinic/aw882xx_spk_reg_r.bin
|
||||
|
||||
# Audio HAL
|
||||
vendor/lib/hw/audio.primary.sm6150.so
|
||||
vendor/lib/libaudio_log_utils.so
|
||||
vendor/lib/libaudioparsers.so
|
||||
vendor/lib/libaudioroute_ext.so
|
||||
|
||||
# Audio extensions
|
||||
vendor/lib/btaudio_offload_if.so
|
||||
vendor/lib/liba2dpoffload.so
|
||||
vendor/lib/libhdmiedid.so
|
||||
vendor/lib/libhfp.so
|
||||
vendor/lib/libsndmonitor.so
|
||||
vendor/lib/libspkrprot.so
|
||||
|
@ -1,4 +1,7 @@
|
||||
# Audio
|
||||
persist.vendor.audio.hifi=false
|
||||
persist.vendor.audio.ring.filter.mask=0
|
||||
ro.vendor.audio.soundfx.usb=true
|
||||
ro.vendor.audio.us.type=mius
|
||||
vendor.audio.feature.compr_voip.enable=false
|
||||
vendor.voice.path.for.pcm.voip=false
|
||||
|
Loading…
Reference in New Issue
Block a user