From 8002465010a03d0798d897a388da9660dc2f0fe6 Mon Sep 17 00:00:00 2001 From: Jasmine Cha Date: Tue, 15 Feb 2022 14:10:11 +0800 Subject: [PATCH] audio: update baacl configuration Bug: 204271308 Test: build pass adb shell audio_waves_custom_action_tests adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp" adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp" Signed-off-by: Jasmine Cha Change-Id: I6d32f82df45d80dfe2d1d16aad979b6277138402 Merged-In: I6d32f82df45d80dfe2d1d16aad979b6277138402 --- audio/cheetah/tuning/waves/waves_config.ini | 13 +++++++------ audio/panther/tuning/waves/waves_config.ini | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/audio/cheetah/tuning/waves/waves_config.ini b/audio/cheetah/tuning/waves/waves_config.ini index 36e092a..3e8c870 100644 --- a/audio/cheetah/tuning/waves/waves_config.ini +++ b/audio/cheetah/tuning/waves/waves_config.ini @@ -6,6 +6,7 @@ ######################################################################################################## [HAL_SUPPORTED_FEATURES] CUSTOM_ACTION_258=1 +# Action 258 parameters: [dev, mode, throttle control state] ######################################################################################################## # This defined the options of supported sample rates. @@ -56,9 +57,9 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so #AudioFormatIncrement=8 [CUSTOM_ACTION_258] -CASE_1=PRIORITY:0,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC -CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL -CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC -CASE_4=PRIORITY:3,NUMBERS:2:0|1:4,PRESET:SPEAKER_MUSIC_THROTTLE -CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:4,PRESET:SPEAKER_SAFE_CALL_THROTTLE -CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:4,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE +CASE_1=PRIORITY:0,NUMBERS:2:0|1:1|2,PRESET:SPEAKER_MUSIC +CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:1|2,PRESET:SPEAKER_SAFE_CALL +CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:1|2,PRESET:SPEAKER_SAFE_MUSIC +CASE_4=PRIORITY:3,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC_THROTTLE +CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL_THROTTLE +CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE diff --git a/audio/panther/tuning/waves/waves_config.ini b/audio/panther/tuning/waves/waves_config.ini index 36e092a..3e8c870 100644 --- a/audio/panther/tuning/waves/waves_config.ini +++ b/audio/panther/tuning/waves/waves_config.ini @@ -6,6 +6,7 @@ ######################################################################################################## [HAL_SUPPORTED_FEATURES] CUSTOM_ACTION_258=1 +# Action 258 parameters: [dev, mode, throttle control state] ######################################################################################################## # This defined the options of supported sample rates. @@ -56,9 +57,9 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so #AudioFormatIncrement=8 [CUSTOM_ACTION_258] -CASE_1=PRIORITY:0,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC -CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL -CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC -CASE_4=PRIORITY:3,NUMBERS:2:0|1:4,PRESET:SPEAKER_MUSIC_THROTTLE -CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:4,PRESET:SPEAKER_SAFE_CALL_THROTTLE -CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:4,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE +CASE_1=PRIORITY:0,NUMBERS:2:0|1:1|2,PRESET:SPEAKER_MUSIC +CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4:1|2,PRESET:SPEAKER_SAFE_CALL +CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1:1|2,PRESET:SPEAKER_SAFE_MUSIC +CASE_4=PRIORITY:3,NUMBERS:2:0|1:0,PRESET:SPEAKER_MUSIC_THROTTLE +CASE_5=PRIORITY:4,NUMBERS:1|2|4194304:2|3|4:0,PRESET:SPEAKER_SAFE_CALL_THROTTLE +CASE_6=PRIORITY:5,NUMBERS:1|4194304:0|1:0,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE