From 67854a94798240bc4a32e309a24445b61d17a76b Mon Sep 17 00:00:00 2001 From: pointerkung Date: Tue, 21 Jun 2022 20:03:54 +0800 Subject: [PATCH 1/3] Camera: Update target load for high streaming case Update target load due to Pro mid CPU this hint impact the high streaming use case like 60fps / 120fps and 240fps. Bug: 236682655 Test: GCA Change-Id: I0f486e44267d30efa12b6c30ebf1d7aea8989892 --- powerhint.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/powerhint.json b/powerhint.json index a986a3a..0d8f4f1 100644 --- a/powerhint.json +++ b/powerhint.json @@ -144,7 +144,8 @@ "Path": "/sys/class/devfreq/17000010.devfreq_mif/interactive/target_load", "Values": [ "20 5 80", - "20 10 80" + "20 10 80", + "80 10 80" ], "ResetOnInit": true }, @@ -742,7 +743,7 @@ "PowerHint": "CAMERA_STREAMING_EXTREME", "Node": "MIFTargetLoad", "Duration": 0, - "Value": "20 10 80" + "Value": "80 10 80" }, { "PowerHint": "CAMERA_STREAMING_EXTREME", @@ -820,7 +821,7 @@ "PowerHint": "CAMERA_STREAMING_HIGH", "Node": "MIFTargetLoad", "Duration": 0, - "Value": "20 10 80" + "Value": "80 10 80" }, { "PowerHint": "CAMERA_STREAMING_HIGH", From fd83fe7c6d98bb4a14b54075f582cb91efe97357 Mon Sep 17 00:00:00 2001 From: Yung Ti Su Date: Mon, 20 Jun 2022 16:16:05 +0800 Subject: [PATCH 2/3] correct mic id capture list Bug: 236579372 Test: manual Signed-off-by: Yung Ti Su Change-Id: Ia6f2a1e3ffefb5d69fb791a4b8612ba741965346 --- audio/lynx/config/mixer_paths.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/audio/lynx/config/mixer_paths.xml b/audio/lynx/config/mixer_paths.xml index 47f6898..10b9fd3 100644 --- a/audio/lynx/config/mixer_paths.xml +++ b/audio/lynx/config/mixer_paths.xml @@ -686,7 +686,7 @@ - + @@ -698,7 +698,7 @@ - + @@ -711,19 +711,19 @@ - + - + - + @@ -737,19 +737,19 @@ - + - + - + @@ -762,7 +762,7 @@ - + @@ -775,7 +775,7 @@ - + @@ -787,7 +787,7 @@ - + @@ -799,7 +799,7 @@ - + @@ -811,7 +811,7 @@ - + @@ -824,7 +824,7 @@ - + From d116a1212c74022b358fd04dea9d068c44e358ed Mon Sep 17 00:00:00 2001 From: Cheney Ni Date: Fri, 17 Jun 2022 11:42:07 +0800 Subject: [PATCH 3/3] Bluetooth: Enable AAC VBR by default AAC VBR is more preferred than CBR for A2DP playback. This also moves those A2DP system properties into the product partition. Bug: 112325138 Test: dumpsys bluetooth_manager Change-Id: I4496d44309faa805059147166c681777c59c4566 --- bluetooth/qti_default.mk | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bluetooth/qti_default.mk b/bluetooth/qti_default.mk index a599a3f..ffbd341 100644 --- a/bluetooth/qti_default.mk +++ b/bluetooth/qti_default.mk @@ -14,6 +14,13 @@ # limitations under the License. # +# Bluetooth Services sysprop for A2DP AAC VBR and A2DP offloading +PRODUCT_PRODUCT_PROPERTIES += \ + persist.bluetooth.a2dp_aac.vbr_supported=true \ + ro.bluetooth.a2dp_offload.supported=true \ + persist.bluetooth.a2dp_offload.disabled=true \ + persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac + # Bluetooth HAL and Pixel extension DEVICE_MANIFEST_FILE += \ device/google/lynx/bluetooth/manifest_bluetooth.xml @@ -59,12 +66,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ ro.vendor.bluetooth.emb_wp_mode=false \ ro.vendor.bluetooth.wipower=false -# Bluetooth A2DP offloading -PRODUCT_PROPERTY_OVERRIDES += \ - ro.bluetooth.a2dp_offload.supported=true \ - persist.bluetooth.a2dp_offload.disabled=true \ - persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac - ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.service.bdroid.soclog=true \