bluez5: Use libfreeaptx instead of libopenaptx

libfreeaptx is a fork of libopenaptx prior to the dubious licensing
situation was introduced to the library.

As it's fully API compatible, let's use that instead for those who
want to use aptX support.

The library source is available at https://github.com/iamthehorker/libfreeaptx
This commit is contained in:
Neal Gompa 2021-07-27 20:10:53 -04:00 committed by Neal Gompa (ニール・ゴンパ)
parent 08a1ca403f
commit 1216371f8c
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ if not get_option('spa-plugins').disabled()
summary({'LDAC': ldac_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
ldac_abr_dep = dependency('ldacBT-abr', required : get_option('bluez5-codec-ldac'))
summary({'LDAC ABR': ldac_abr_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
aptx_dep = dependency('libopenaptx', version : '< 0.2.1', required : get_option('bluez5-codec-aptx'))
aptx_dep = dependency('libfreeaptx', required : get_option('bluez5-codec-aptx'))
summary({'aptX': aptx_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
fdk_aac_dep = dependency('fdk-aac', required : get_option('bluez5-codec-aac'))
summary({'AAC': fdk_aac_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')

View file

@ -29,7 +29,7 @@
#include <spa/param/audio/format.h>
#include <openaptx.h>
#include <freeaptx.h>
#include "defs.h"
#include "rtp.h"