From cd3375f39e4ed61efabafefa8116aed132c35d13 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Mon, 24 Jul 2023 17:25:02 +0300 Subject: [PATCH] meson.build: enable LC3 by default Enable LE Audio support by default if liblc3 is present, the Pipewire implementation should be OK. Remove unused HAVE_BLUETOOTH_BAP define, we don't have any #ifdefs for this. The feature is still disabled by default in BlueZ, which also now takes care of necessary hardware feature checks, and should be safe to enable on Pipewire side. --- meson_options.txt | 2 +- spa/meson.build | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 85fe9dfb7..9c6947d45 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -127,7 +127,7 @@ option('bluez5-codec-opus', option('bluez5-codec-lc3', description: 'Enable LC3 open source codec implementation', type: 'feature', - value: 'disabled') + value: 'auto') option('control', description: 'Enable control spa plugin integration', type: 'feature', diff --git a/spa/meson.build b/spa/meson.build index e2ecb2cfe..e9c97a652 100644 --- a/spa/meson.build +++ b/spa/meson.build @@ -80,7 +80,6 @@ if get_option('spa-plugins').allowed() summary({'Opus': opus_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs') lc3_dep = dependency('lc3', required : get_option('bluez5-codec-lc3')) summary({'LC3': lc3_dep.found()}, bool_yn: true, section: 'Bluetooth audio codecs') - cdata.set('HAVE_BLUETOOTH_BAP', get_option('bluez5-codec-lc3').allowed() and lc3_dep.found()) if get_option('bluez5-backend-hsp-native').allowed() or get_option('bluez5-backend-hfp-native').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')