From a0db6cef774adfdecb14461a630e6065e0d9a591 Mon Sep 17 00:00:00 2001 From: Jasmine Cha Date: Thu, 9 Mar 2023 11:51:58 +0800 Subject: [PATCH 1/2] audio: support spatial audio for folded mode Bug:272379558 Test: build pass Change-Id: Ie1d8dcc2b88a8f1557f2c8f01b250652daf896c8 Signed-off-by: Jasmine Cha --- audio/felix/tuning/waves/waves_config.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/felix/tuning/waves/waves_config.ini b/audio/felix/tuning/waves/waves_config.ini index 24650d0..868bb11 100644 --- a/audio/felix/tuning/waves/waves_config.ini +++ b/audio/felix/tuning/waves/waves_config.ini @@ -60,7 +60,7 @@ AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so #AudioFormatIncrement=8 [CUSTOM_ACTION_257] -CASE_1=PRIORITY:0,NUMBERS:2:0|1:1|2:0|3:0|1,PRESET:SPEAKER_MUSIC_FOLDED +CASE_1=PRIORITY:0,NUMBERS:2:0|1:1|2:0|3:0,PRESET:SPEAKER_MUSIC_FOLDED CASE_2=PRIORITY:1,NUMBERS:2:0|1:1|2:1:0,PRESET:SPEAKER_MUSIC_CLAMSHELL CASE_3=PRIORITY:2,NUMBERS:2:0|1:1|2:2:0,PRESET:SPEAKER_MUSIC_UNFOLDED CASE_4=PRIORITY:3,NUMBERS:1|2|4194304:2|3|4:1|2:0|1|2|3:0|1,PRESET:SPEAKER_SAFE_MUSIC @@ -70,9 +70,9 @@ CASE_7=PRIORITY:6,NUMBERS:2:0|1:0:1:0,PRESET:SPEAKER_MUSIC_CLAMSHELL_THROTTLE CASE_8=PRIORITY:7,NUMBERS:2:0|1:0:2:0,PRESET:SPEAKER_MUSIC_UNFOLDED_THROTTLE CASE_9=PRIORITY:8,NUMBERS:1|2|4194304:2|3|4:0:0|1|2|3:0|1,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE CASE_10=PRIORITY:9,NUMBERS:1|4194304:0|1:0:0|1|2|3:0|1,PRESET:SPEAKER_SAFE_MUSIC_THROTTLE -CASE_11=PRIORITY:10,NUMBERS:2:0|1:1|2:2:1,PRESET:SPEAKER_MUSIC_RESERVED_UNFOLDED +CASE_11=PRIORITY:10,NUMBERS:2:0|1:1|2:0|2:1,PRESET:SPEAKER_MUSIC_RESERVED_UNFOLDED CASE_12=PRIORITY:11,NUMBERS:2:0|1:1|2:1:1,PRESET:SPEAKER_MUSIC_RESERVED_CLAMSHELL -CASE_13=PRIORITY:12,NUMBERS:2:0|1:0:2:1,PRESET:SPEAKER_MUSIC_RESERVED_UNFOLDED_THROTTLE +CASE_13=PRIORITY:12,NUMBERS:2:0|1:0:0|2:1,PRESET:SPEAKER_MUSIC_RESERVED_UNFOLDED_THROTTLE CASE_14=PRIORITY:13,NUMBERS:2:0|1:0:1:1,PRESET:SPEAKER_MUSIC_RESERVED_CLAMSHELL_THROTTLE From e6c84ed36eb75dece8c46ce718c53c336b207e2d Mon Sep 17 00:00:00 2001 From: Mao Lee Date: Tue, 14 Mar 2023 13:42:03 +0800 Subject: [PATCH 2/2] Camera: Add the property to raise the thermal severity to moderate for CPU throttling. Bug: 269029244 Test: GCA, CTS Change-Id: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90 Merged-In: Iad53f94f55c8cd4998339fb8e1103dd9d1a9fc90 --- device-felix.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/device-felix.mk b/device-felix.mk index aac0d1b..b528e35 100644 --- a/device-felix.mk +++ b/device-felix.mk @@ -313,6 +313,7 @@ PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.camera.extended_launch_boost=1 \ persist.vendor.camera.optimized_tnr_freq=1 \ persist.vendor.camera.raise_buf_allocation_priority=1 \ + persist.vendor.camera.start_cpu_throttling_at_moderate_thermal=1 \ camera.enable_landscape_to_portrait=true \ persist.vendor.camera.debug.bypass_csi_link_error=true \ vendor.camera.allow_sensor_binning_aspect_ratio_to_override_itp_output=false