mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-12 08:21:09 -04:00
bluez5: backend-native: don't hardcode available HFP codecs
Remove most hardcoding of possible HFP codecs. Instead, get what is available from codec lists.
This commit is contained in:
parent
83f6d719b1
commit
9f34e962a6
2 changed files with 150 additions and 79 deletions
|
|
@ -109,10 +109,8 @@ if get_option('spa-plugins').allowed()
|
|||
mm_dep = dependency('ModemManager', version : '>= 1.10.0', required : get_option('bluez5-backend-native-mm'))
|
||||
summary({'ModemManager': mm_dep.found()}, bool_yn: true, section: 'Bluetooth backends')
|
||||
endif
|
||||
cdata.set('HAVE_LC3', get_option('bluez5-codec-lc3').allowed() and lc3_dep.found())
|
||||
g722_codec_option = get_option('bluez5-codec-g722')
|
||||
summary({'G722': g722_codec_option.allowed()}, bool_yn: true, section: 'Bluetooth audio codecs')
|
||||
cdata.set('HAVE_G722', g722_codec_option.allowed())
|
||||
endif
|
||||
|
||||
have_vulkan = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue