[pulseaudio-discuss] [PATCH v3 4/4] Add A2DP LDAC codec source support

Pali Rohár pali.rohar at gmail.com
Mon Jan 14 09:05:13 UTC 2019


On Monday 14 January 2019 12:34:02 Huang-Huang Bao wrote:
> My bad, noticed before, but I forgot it when adding copyrights.
> 
> On 1/13/19 10:14 AM, Pali Rohár wrote:
> > On Saturday 29 December 2018 23:48:08 Huang-Huang Bao wrote:
> >> diff --git a/src/modules/bluetooth/a2dp/a2dp_ldac.c b/src/modules/bluetooth/a2dp/a2dp_ldac.c
> >> new file mode 100644
> >> index 000000000..8095d2435
> >> --- /dev/null
> >> +++ b/src/modules/bluetooth/a2dp/a2dp_ldac.c
> >> @@ -0,0 +1,605 @@
> >> +/***
> >> +  This file is part of PulseAudio.
> >> +
> >> +  Copyright 2018 Huang-Huang Bao
> >> +
> >> +  PulseAudio is free software; you can redistribute it and/or modify
> >> +  it under the terms of the GNU Lesser General Public License as
> >> +  published by the Free Software Foundation; either version 2.1 of the
> >> +  License, or (at your option) any later version.
> >> +
> >> +  PulseAudio is distributed in the hope that it will be useful, but
> >> +  WITHOUT ANY WARRANTY; without even the implied warranty of
> >> +  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> >> +  General Public License for more details.
> >> +
> >> +  You should have received a copy of the GNU Lesser General Public
> >> +  License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
> >> +***/
> >> +
> >> +#include <arpa/inet.h>
> >> +#include <string.h>
> >> +
> >> +#ifdef HAVE_CONFIG_H
> >> +
> >> +#include <config.h>
> >> +
> >> +#endif
> >> +
> >> +#include <pulse/xmalloc.h>
> >> +#include <pulsecore/once.h>
> >> +
> >> +#include <ldacBT.h>
> >> +#include <ldacBT_abr.h>
> > This looks like an another license problem. This Sony's LDAC encoder
> > library is licensed under Apache License Version 2.0 which is not
> > compatible with above LGPL 2.1.
> >
> > IIRC Apache License Version 2.0 can be used in GPLv3 projects, so
> > without relicensing pulseaudio to (L)GPLv3 this looks like a problem.
> >
> Could we relicense bluez modules or AAC/LDAC staffs to LGPLv3?

I guess this is possible only in case whole pulseaudio server is
relicensed to GPLv3 as all those code is running in pulseaudio server.
And this would be problematic... :-(

-- 
Pali Rohár
pali.rohar at gmail.com


More information about the pulseaudio-discuss mailing list