153a5a1b3Sopenharmony_ciAll PulseAudio source files, except as noted below, are licensed under the GNU
253a5a1b3Sopenharmony_ciLesser General Public License. (see file LGPL for details)
353a5a1b3Sopenharmony_ci
453a5a1b3Sopenharmony_ciHowever, the server side has optional GPL dependencies.  These include the
553a5a1b3Sopenharmony_cilibsamplerate and gdbm (core libraries), LIRC (lirc module) and FFTW (equalizer
653a5a1b3Sopenharmony_cimodule), although others may also be included in the future.  If PulseAudio is
753a5a1b3Sopenharmony_cicompiled with these optional components, this effectively downgrades the
853a5a1b3Sopenharmony_cilicense of the server part to GPL (see the file GPL for details), exercising
953a5a1b3Sopenharmony_cisection 3 of the LGPL.  In such circumstances, you should treat the client
1053a5a1b3Sopenharmony_cilibrary (libpulse) of PulseAudio as being LGPL licensed and the server part
1153a5a1b3Sopenharmony_ci(libpulsecore) as being GPL licensed.  Since the PulseAudio daemon, tests,
1253a5a1b3Sopenharmony_civarious utilities/helpers and the modules link to libpulsecore and/or the afore
1353a5a1b3Sopenharmony_cimentioned optional GPL dependencies they are of course also GPL licensed also
1453a5a1b3Sopenharmony_ciin this scenario.
1553a5a1b3Sopenharmony_ci
1653a5a1b3Sopenharmony_ciIn addition to this, if D-Bus support is enabled, the PulseAudio client library
1753a5a1b3Sopenharmony_ci(libpulse) MAY need to be licensed under the GPL, depending on the license
1853a5a1b3Sopenharmony_ciadopted for libdbus. libdbus is licensed under either of the Academic Free
1953a5a1b3Sopenharmony_ciLicense 2.1 or GPL 2.0 or above. Which of these applies is your choice, and the
2053a5a1b3Sopenharmony_ciresult affects the licensing of libpulse and thus, potentially, all programs
2153a5a1b3Sopenharmony_cithat link to libpulse.
2253a5a1b3Sopenharmony_ci
2353a5a1b3Sopenharmony_ciAndre Adrian's echo cancellation implementation is licensed under a less
2453a5a1b3Sopenharmony_cirestrictive license - see src/modules/echo-cancel/adrian-license.txt for
2553a5a1b3Sopenharmony_cidetails.
2653a5a1b3Sopenharmony_ci
2753a5a1b3Sopenharmony_ciSome other files pulled into PA source (i.e. reference implementations that are
2853a5a1b3Sopenharmony_ciconsidered too small and stable to be considered as an external library) use the
2953a5a1b3Sopenharmony_cimore permissive MIT license. These include the device reservation DBus protocol
3053a5a1b3Sopenharmony_ciand realtime kit implementations.
3153a5a1b3Sopenharmony_ci
3253a5a1b3Sopenharmony_ciA more permissive BSD-style license is used for LFE filters, see
3353a5a1b3Sopenharmony_cisrc/pulsecore/filter/LICENSE.WEBKIT for details.
3453a5a1b3Sopenharmony_ci
3553a5a1b3Sopenharmony_ciAdditionally, a more permissive Sun license is used for code that performs
3653a5a1b3Sopenharmony_ciu-law, A-law and linear PCM conversions.
3753a5a1b3Sopenharmony_ci
3853a5a1b3Sopenharmony_ciWhile we attempt to provide a summary here, it is the ultimate responsibility of
3953a5a1b3Sopenharmony_cithe packager to ensure the components they use in their build of PulseAudio
4053a5a1b3Sopenharmony_cimeets their license requirements.
41