From 1cb32db055c447ccb0ee91e7558e2758a92784cd Mon Sep 17 00:00:00 2001 From: Xiaojun Sang Date: Thu, 4 Apr 2019 09:12:12 +0800 Subject: [PATCH] hal: use version 3 as default for speaker protection When speaker protection is enabled, version 3 should be used as default. Change-Id: Iea0fc57253bb902f0bad0c22996280e15656457d --- configs/kona/kona.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/kona/kona.mk b/configs/kona/kona.mk index 6e234fb9..179661fc 100644 --- a/configs/kona/kona.mk +++ b/configs/kona/kona.mk @@ -129,6 +129,11 @@ persist.vendor.audio.fluence.voicerec=false\ persist.vendor.audio.fluence.speaker=true\ 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 PRODUCT_PROPERTY_OVERRIDES += \ vendor.audio.tunnel.encode=false