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 Bug: 323223919 Bug: 303920722 Bug: 348074352 Test: manual Flag: com.android.media.audio.stereo_spatialization Change-Id: Iecfd82a6285ab8e297b19e89f90ef3c018d275cb
This commit is contained in:
parent
f4969d9bdf
commit
e578df9f2c
7 changed files with 16 additions and 6 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
BIN
audio/tegu/tuning/spatializer/base
Normal file
BIN
audio/tegu/tuning/spatializer/base
Normal file
Binary file not shown.
BIN
audio/tegu/tuning/spatializer/mode_2_ch
Normal file
BIN
audio/tegu/tuning/spatializer/mode_2_ch
Normal file
Binary file not shown.
BIN
audio/tegu/tuning/spatializer/mode_6_ch
Normal file
BIN
audio/tegu/tuning/spatializer/mode_6_ch
Normal file
Binary file not shown.
BIN
audio/tegu/tuning/spatializer/mode_xaural
Normal file
BIN
audio/tegu/tuning/spatializer/mode_xaural
Normal file
Binary file not shown.
|
@ -119,7 +119,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
|
||||||
|
|
||||||
# POF
|
# POF
|
||||||
PRODUCT_PRODUCT_PROPERTIES += \
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
@ -149,10 +149,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
|
||||||
|
|
||||||
# Sound Dose
|
# Sound Dose
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue