mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: add ldac codec
This commit is contained in:
parent
3363544d05
commit
dd8573a5c2
6 changed files with 340 additions and 15 deletions
|
|
@ -10,6 +10,15 @@ bluez5_sources = ['plugin.c',
|
|||
'bluez5-device.c',
|
||||
'bluez5-dbus.c']
|
||||
|
||||
bluez5_args = [ '-D_GNU_SOURCE' ]
|
||||
bluez5_deps = [ dbus_dep, sbc_dep, bluez_dep ]
|
||||
|
||||
if ldac_dep.found()
|
||||
bluez5_sources += [ 'a2dp-codec-ldac.c' ]
|
||||
bluez5_args += [ '-DENABLE_LDAC' ]
|
||||
bluez5_deps += ldac_dep
|
||||
endif
|
||||
|
||||
if get_option('bluez5-backend-native')
|
||||
bluez5_sources += ['backend-hsp-native.c']
|
||||
endif
|
||||
|
|
@ -25,7 +34,7 @@ endif
|
|||
bluez5lib = shared_library('spa-bluez5',
|
||||
bluez5_sources,
|
||||
include_directories : [ spa_inc, configinc ],
|
||||
c_args : [ '-D_GNU_SOURCE' ],
|
||||
dependencies : [ dbus_dep, sbc_dep, bluez_dep ],
|
||||
c_args : bluez5_args,
|
||||
dependencies : bluez5_deps,
|
||||
install : true,
|
||||
install_dir : join_paths(spa_plugindir, 'bluez5'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue