mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
Merge branch 'lhdc' into 'master'
Draft: bluez5: add LHDC V3 A2DP vendor codec See merge request pipewire/pipewire!1786
This commit is contained in:
commit
9f830293b5
8 changed files with 1097 additions and 0 deletions
|
|
@ -106,6 +106,42 @@ 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 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')
|
||||
|
||||
lhdc_v5_enc_dep = dependency('lhdcv5BT-enc', required : false)
|
||||
if not lhdc_v5_enc_dep.found()
|
||||
lhdc_v5_enc_lhdc_h_dep = cc.find_library('lhdcv5BT_enc', has_headers: ['lhdcv5BT.h'], required : false)
|
||||
if lhdc_v5_enc_lhdc_h_dep.found()
|
||||
lhdc_v5_enc_dep = declare_dependency(dependencies : [ lhdc_v5_enc_lhdc_h_dep ])
|
||||
endif
|
||||
endif
|
||||
summary({'LHDC V5 Encoder': lhdc_v5_enc_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs')
|
||||
|
||||
lhdc_v5_dec_dep = dependency('lhdcv5BT-dec', required : false)
|
||||
if not lhdc_v5_dec_dep.found()
|
||||
lhdc_v5_dec_lhdc_h_dep = cc.find_library('lhdcv5BT_dec', has_headers: ['lhdcv5BT_dec.h'], required : false)
|
||||
if lhdc_v5_dec_lhdc_h_dep.found()
|
||||
lhdc_v5_dec_dep = declare_dependency(dependencies : [ lhdc_v5_dec_lhdc_h_dep ])
|
||||
endif
|
||||
endif
|
||||
summary({'LHDC V5 Decoder': lhdc_v5_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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue