Adds A2DP AAC, aptX(HD), LDAC codecs

Submitted by Huang-Huang Bao on Dec. 13, 2018, 10:53 a.m.

Details

Reviewer None
Submitted Dec. 13, 2018, 10:53 a.m.
Last Updated Dec. 13, 2018, 12:30 p.m.
Revision 2

Cover Letter(s)

Revision 1
      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%)
    
Revision 2
      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%)
    

Revisions

SERIES REVISION IS NOT COMPLETE. We've got 0 out of 4 expected patches.

Patches download mbox

# Name Submitter State