[BT] Add sysprop to enable OPUS codec
Add system property to enable OPUS codec and offload at BT side. Bug: 353143865 Bug: 353161316 Test: build and check system property at real device Flag: com.android.media.audio.stereo_spatialization Change-Id: I4136e73b8705c581512842786a3a85558a02f191
This commit is contained in:
parent
849e21af12
commit
6393d5a3cf
2 changed files with 8 additions and 0 deletions
|
@ -25,3 +25,7 @@ BtHalRecoveryByRestart = true
|
||||||
|
|
||||||
# Update BQR Event Mask property value
|
# Update BQR Event Mask property value
|
||||||
BqrEventMaskValueUpdate = 295006
|
BqrEventMaskValueUpdate = 295006
|
||||||
|
|
||||||
|
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
|
||||||
|
|
||||||
|
BtOpusEnabled = true
|
||||||
|
|
|
@ -127,6 +127,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
persist.bluetooth.a2dp_offload.disabled=false \
|
persist.bluetooth.a2dp_offload.disabled=false \
|
||||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
|
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
|
||||||
|
|
||||||
|
# Bluetooth OPUS codec
|
||||||
|
PRODUCT_PRODUCT_PROPERTIES += \
|
||||||
|
persist.bluetooth.opus.enabled=true
|
||||||
|
|
||||||
# Bluetooth Tx power caps
|
# Bluetooth Tx power caps
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/google/tegu/bluetooth/bluetooth_power_limits.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv
|
device/google/tegu/bluetooth/bluetooth_power_limits.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits.csv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue