hal: use version 3 as default for speaker protection

When speaker protection is enabled, version 3 should be used
as default.

Change-Id: Iea0fc57253bb902f0bad0c22996280e15656457d
This commit is contained in:
Xiaojun Sang 2019-04-04 09:12:12 +08:00
parent 625465f78d
commit 1cb32db055
1 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,11 @@ persist.vendor.audio.fluence.voicerec=false\
persist.vendor.audio.fluence.speaker=true\ persist.vendor.audio.fluence.speaker=true\
persist.vendor.audio.fluence.tmic.enabled=false persist.vendor.audio.fluence.tmic.enabled=false
##speaker protection v3 switch and ADSP AFE API version
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.audio.spv3.enable=true\
persist.vendor.audio.avs.afe_api_version=2
#disable tunnel encoding #disable tunnel encoding
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
vendor.audio.tunnel.encode=false vendor.audio.tunnel.encode=false