bluez5: add LHDC V3 A2DP decoder

This commit is contained in:
anonymix007 2024-06-24 22:50:19 +03:00
parent 87cb3ea4a1
commit a9ba34da23
3 changed files with 105 additions and 5 deletions

View file

@ -106,7 +106,17 @@ if get_option('spa-plugins').allowed()
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')
summary({'LHDC V3 Encoder': lhdc_enc_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
lhdc_dec_dep = dependency('lhdcBT-dec', required : false)
if not lhdc_dec_dep.found()
lhdc_dec_lhdc_h_dep = cc.find_library('lhdcBT_dec', has_headers: ['lhdcBT_dec.h'], required : false)
if lhdc_dec_lhdc_h_dep.found()
lhdc_dec_dep = declare_dependency(dependencies : [ lhdc_dec_lhdc_h_dep ])
endif
endif
summary({'LHDC V3 Decoder': 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