bluez5: add LHDC V3 A2DP vendor codec

This commit is contained in:
anonymix007 2023-11-23 15:54:38 +03:00
parent a4148c80b4
commit 87cb3ea4a1
8 changed files with 699 additions and 0 deletions

View file

@ -99,6 +99,14 @@ if get_option('spa-plugins').allowed()
endif
endif
summary({'LC3plus': lc3plus_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
lhdc_enc_dep = dependency('lhdcBT-enc', required : false)
if not lhdc_enc_dep.found()
lhdc_enc_lhdc_h_dep = cc.find_library('lhdcBT_enc', has_headers: ['lhdcBT.h'], required : false)
if lhdc_enc_lhdc_h_dep.found()
lhdc_enc_dep = declare_dependency(dependencies : [ lhdc_enc_lhdc_h_dep ])
endif
endif
summary({'LHDC': lhdc_enc_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
if get_option('bluez5-codec-opus').enabled() and not opus_dep.found()
error('bluez5-codec-opus enabled, but opus dependency not found')
endif