Skip to content

Commit

Permalink
op5: enable split A2DP to implement A2DP encoding offload
Browse files Browse the repository at this point in the history
* "Split A2DP" probably stands for splitting A2DP output
  stream out from A2DP HAL to primary audio HAL, which
  makes it possible to offload SBC / aptX / AAC ... encoding
  to DSP.

* Primary audio HAL requires libbthost_if to transmit BT
  packets.

Change-Id: I403a66ef2d2f6a358fbdd4c0654812e6bf30a2b3
  • Loading branch information
Verevka committed Sep 26, 2017
1 parent fbe85a7 commit a97b34f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ AUDIO_FEATURE_ENABLED_DTS_EAGLE := false
AUDIO_FEATURE_ENABLED_HW_ACCELERATED_EFFECTS := false
AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true
AUDIO_FEATURE_ENABLED_USB_TUNNEL_AUDIO := true
AUDIO_FEATURE_ENABLED_SPLIT_A2DP := false
AUDIO_FEATURE_ENABLED_SPLIT_A2DP := true
AUDIO_FEATURE_ENABLED_3D_AUDIO := true
AUDIO_FEATURE_ENABLED_VBAT_MONITOR := true
AUDIO_FEATURE_ENABLED_ANC_HEADSET := true
Expand Down
4 changes: 4 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
external/ant-wireless/antradio-library/com.dsi.ant.antradio_library.xml:system/etc/permissions/com.dsi.ant.antradio_library.xml

# Bluetooth
PRODUCT_PACKAGES += \
libbthost_if

# Camera
PRODUCT_PACKAGES += \
MiuiCamera
Expand Down
2 changes: 2 additions & 0 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ vendor/lib/libhwdaphal.so
bin/btnvtool
bin/hci_qcomm_init
bin/wcnss_filter
lib/libbthost_if.so
lib64/libbthost_if.so
vendor/lib64/libbtnv.so
vendor/lib/libbtnv.so

Expand Down

0 comments on commit a97b34f

Please sign in to comment.