audio: update AIDL configs and add spatializer configs

Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I24d380399882023a63d8c651bad3fee2eb4f8240
This commit is contained in:
David Li 2024-08-29 09:48:19 +00:00
parent ab7354fdf0
commit 29af2213b3
16 changed files with 496 additions and 450 deletions

View file

@ -130,19 +130,31 @@ PRODUCT_COPY_FILES += \
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.finder.supported=true
ifeq ($(USE_AUDIO_HAL_AIDL),true)
# AIDL
# declare use of stereo spatialization
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.stereo_spatialization_enabled=true
else
# HIDL
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Sound Dose
PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc
endif
# declare use of spatial audio
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.spatializer_enabled=true
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.cca.enabled=false