[pulseaudio-discuss] [PATCH 0/4] [bluetooth] Adds A2DP AAC, aptX(HD), LDAC codecs (v2)

EHfive eh5 at sokka.cn
Thu Dec 13 11:43:35 UTC 2018


Dependent on FDK-AAC >= 0.1.5, ffmpeg >= 4.0, libldac
(https://android.googlesource.com/platform/external/libldac,
https://github.com/EHfive/ldacBT)

Configure codec by ` load-module module-bluetooth-discover
a2dp_config="ldac_eqmid=sq" `, etc.

Origin: https://github.com/EHfive/pulseaudio-modules-bt/tree/pulseaudio_repo

EHfive (4):
  A2DP api with multi-codec support
  Add A2DP AAC codec support
  Add A2DP aptX, aptX HD codecs support
  Add A2DP LDAC codec source support

 configure.ac                                  |  46 +-
 src/Makefile.am                               |  39 +-
 src/modules/bluetooth/a2dp-codecs.h           | 115 ---
 src/modules/bluetooth/a2dp/a2dp-api.h         | 196 +++++
 src/modules/bluetooth/a2dp/a2dp-codecs.h      | 269 +++++++
 src/modules/bluetooth/a2dp/a2dp_aac.c         | 743 ++++++++++++++++++
 src/modules/bluetooth/a2dp/a2dp_aptx.c        | 609 ++++++++++++++
 src/modules/bluetooth/a2dp/a2dp_ldac.c        | 591 ++++++++++++++
 src/modules/bluetooth/a2dp/a2dp_sbc.c         | 659 ++++++++++++++++
 src/modules/bluetooth/a2dp/a2dp_util.c        | 419 ++++++++++
 src/modules/bluetooth/{ => a2dp}/rtp.h        |   0
 src/modules/bluetooth/bluez5-util.c           | 307 +++-----
 src/modules/bluetooth/bluez5-util.h           |   6 +
 src/modules/bluetooth/module-bluez5-device.c  | 460 ++++-------
 .../bluetooth/module-bluez5-discover.c        |  14 +-
 15 files changed, 3834 insertions(+), 639 deletions(-)
 delete mode 100644 src/modules/bluetooth/a2dp-codecs.h
 create mode 100644 src/modules/bluetooth/a2dp/a2dp-api.h
 create mode 100644 src/modules/bluetooth/a2dp/a2dp-codecs.h
 create mode 100644 src/modules/bluetooth/a2dp/a2dp_aac.c
 create mode 100644 src/modules/bluetooth/a2dp/a2dp_aptx.c
 create mode 100644 src/modules/bluetooth/a2dp/a2dp_ldac.c
 create mode 100644 src/modules/bluetooth/a2dp/a2dp_sbc.c
 create mode 100644 src/modules/bluetooth/a2dp/a2dp_util.c
 rename src/modules/bluetooth/{ => a2dp}/rtp.h (100%)

-- 
2.19.2



More information about the pulseaudio-discuss mailing list