bluez5: support LC3-SWB in HFP RFCOMM & add codec id for it

HFP 1.9 adds LC3 as a possible codec in addition to CVSD & mSBC.
E.g. Pixel Buds Pro latest firmware supports it.

Add the RFCOMM side and codec selection for it.
This commit is contained in:
Pauli Virtanen 2024-01-22 19:59:54 +02:00 committed by Wim Taymans
parent 237d282c05
commit fe412784a4
6 changed files with 130 additions and 53 deletions

View file

@ -84,6 +84,7 @@ 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())
endif
jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
summary({'JACK2': jack_dep.found()}, bool_yn: true, section: 'Backend')