BT: add sysprop to enable OPUS codec
Add new system proprty persist.bluetooth.opus.enabled to
indicate devices enable OPUS codec.
Bug: 254609888
Test: atest net_test_stack:A2dpCodecConfigTest#init
Change-Id: I1df3d6de1b4c4020fb214b4a9fe2f4fe8b347195
(cherry picked from commit 932c8178a7
)
Merged-In: I1df3d6de1b4c4020fb214b4a9fe2f4fe8b347195
This commit is contained in:
parent
c5f04e42ca
commit
3bc0bce47d
3 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
# This is BTBCM HAL overlay configuration file.
|
||||
|
||||
BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus
|
||||
|
||||
BtOpusEnabled = true
|
||||
|
|
|
@ -267,3 +267,7 @@ PRODUCT_RESTRICT_VENDOR_FILES := false
|
|||
# Enable adpf cpu hint session for SurfaceFlinger
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
debug.sf.enable_adpf_cpu_hint=true
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.opus.enabled=true
|
||||
|
|
|
@ -280,3 +280,7 @@ PRODUCT_RESTRICT_VENDOR_FILES := false
|
|||
# Enable adpf cpu hint session for SurfaceFlinger
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
||||
debug.sf.enable_adpf_cpu_hint=true
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.opus.enabled=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue