This commit is contained in:
ZZyVSmOzMz OZaAEBlUIZ 2025-06-22 12:00:40 +00:00
parent c727e8f8f9
commit ae1f79c514

View file

@ -71,6 +71,7 @@ if get_option('spa-plugins').allowed()
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')
ldac_dec_dep = dependency('', required: false)
if get_option('bluez5-codec-ldac-dec').allowed()
dep = dependency('ldacBT', required : false)
if dep.found() and cc.has_function('ldacBT_decode', dependencies : dep)
@ -87,8 +88,6 @@ if get_option('spa-plugins').allowed()
if not ldac_dec_dep.found() and get_option('bluez5-codec-ldac-dec').enabled()
error('LDAC decoder library not found')
endif
else
ldac_dec_dep = dependency('', required: false)
endif
summary({'LDAC DEC': ldac_dec_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')