#954442 RFP: pulseaudio-module-bluetooth-nonfree -- Sony LDAC, aptX, aptX HD, AAC codecs (A2DP Audio) support to PulseAudio on Linux

#954442#5
Date:
2020-03-21 17:38:10 UTC
From:
To:
* Package name    : pulseaudio-module-bluetooth-nonfree
  Version         : x.y.z
  Upstream Author : Bao H.H. <eh5@sokka.cn>
* URL             : https://github.com/EHfive/pulseaudio-modules-bt
* License         : GPL3
  Programming Lang: C
  Description     : Sony LDAC, aptX, aptX HD, AAC codecs (A2DP Audio) support
to PulseAudio on Linux

Pulseaudio bluetooth modules forks that adds LDAC, APTX, APTX-HD, AAC support,
extended configuration for SBC

It is very useful to support codecs for modern true wireless earbuds

Some interesting links:
[1]https://github.com/EHfive/pulseaudio-modules-bt
[2]https://github.com/EHfive/pulseaudio-modules-bt/wiki#are-there-any-plans-to-
upstream-this-into-pulseaudio
[3]https://github.com/EHfive/pulseaudio-modules-bt/issues/3
[4]https://eischmann.wordpress.com/2019/02/11/better-bluetooth-sound-quality-
on-linux/

#954442#10
Date:
2020-06-30 17:25:23 UTC
From:
To:
Please include a Version in future RFP/ITP/RFSs.

Pasi Karkkainen writes

     EHfive/pulseaudio-modules-bt is basicly an out-of-tree hack, it's
     not suitable for upstreaming. That's exactly why Pali has been
     working in getting these features developed and the necessary
     APIs implemented, cleaned up properly and upstreamed to
     bluez/pulseaudio/etc.
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/227#note_522808

and pali writes

    This merge request does not support ldac codec.

    And libldac (in Debian or Ubuntu) is irrelevant here as its
    license is incompatible with pulseaudio. So it cannot be used in
    pulseaudio for ldac support.
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/227#note_550634

If this is true, then ftpmaster would reject an upload of
pulseaudio-module-bluetooth-nonfree, because non-free is one thing,
while breach-of-license is another.


Regards,
Nicholas

#954442#15
Date:
2020-06-30 17:46:01 UTC
From:
To:
Ah, I found clarification from pali here

    About LDAC in pulseaudio, there is open question about
    licensing. LGPLv2 is not compatible with Apache License under
    which is LDAC encoder released. Until this issue is resolved I
    guess that LDAC codec support would not appear in distributed
    version of pulseaudio.
https://eischmann.wordpress.com/2019/02/11/better-bluetooth-sound-quality-on-linux/#comment-10714

and a possible workaround

    GPLv2+ and LGPLv2+ code can be (optionally) upgraded to GPLv3 and
    Apache License, under which is LDAC, is compatible with GPLv3. I’m
    not lawyer but maybe some build option “–compile-as-gplv3” could
    generate GPLv3 binary of pulseaudio and then it could use LDAC
    encoder.
https://eischmann.wordpress.com/2019/02/11/better-bluetooth-sound-quality-on-linux/#comment-10726