Merge "Audio: Enabled stereo spatialization property for Tegu, added opus codec enabled spatializer offload, added CAF config files for offloaded spatializer and updated the audio tables makefile" into main

This commit is contained in:
Akshay Cadambi 2024-07-11 18:01:16 +00:00 committed by Android (Google) Code Review
commit 797258bb19
7 changed files with 16 additions and 6 deletions

View file

@ -31,7 +31,7 @@
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" /> <argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature> </feature>
<!-- <feature name="MicrophoneCompensation" /> --> <!-- <feature name="MicrophoneCompensation" /> -->
<!-- <feature name="spatializer-offload" /> --> <feature name="spatializer-offload" />
</features> </features>
<voipVolume> <voipVolume>

View file

@ -77,3 +77,10 @@ PRODUCT_COPY_FILES += \
device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tas2572/ti_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ti_cal_mixer_paths.xml device/google/tegu/audio/$(AUDIO_TABLE_FOLDER)/tas2572/ti_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/ti_cal_mixer_paths.xml
endif endif
# Offload spatializer config
PRODUCT_PACKAGES += \
vendor.google.whitechapel.audio.hal.effect.spatializer.base \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_2_ch \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_6_ch \
vendor.google.whitechapel.audio.hal.effect.spatializer.mode_xaural

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -125,7 +125,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
ro.bluetooth.a2dp_offload.supported=true \ ro.bluetooth.a2dp_offload.supported=true \
persist.bluetooth.a2dp_offload.disabled=false \ persist.bluetooth.a2dp_offload.disabled=false \
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
# Bluetooth Tx power caps # Bluetooth Tx power caps
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
@ -159,10 +159,13 @@ PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
# Spatial Audio # declare use of spatial audio
PRODUCT_PACKAGES += \ PRODUCT_PROPERTY_OVERRIDES += \
libspatialaudio \ ro.audio.spatializer_enabled=true
librondo
# declare use of stereo spatialization
PRODUCT_PROPERTY_OVERRIDES += \
ro.audio.stereo_spatialization_enabled=true
ifneq ($(USE_AUDIO_HAL_AIDL),true) ifneq ($(USE_AUDIO_HAL_AIDL),true)
# HIDL Sound Dose # HIDL Sound Dose