mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
modules: Allow roc source/sink to be used as native modules
Move the implementation of roc source and sink so that they can be used as pipewire native modules and make the pulse module implementation use those.
This commit is contained in:
parent
d06a2e2140
commit
d8b5ab13a5
5 changed files with 1215 additions and 536 deletions
|
|
@ -24,6 +24,8 @@ module_sources = [
|
|||
'module-rtkit.c',
|
||||
'module-session-manager.c',
|
||||
'module-zeroconf-discover.c',
|
||||
'module-roc-source.c',
|
||||
'module-roc-sink.c',
|
||||
]
|
||||
|
||||
pipewire_module_access = shared_library('pipewire-module-access', [ 'module-access.c' ],
|
||||
|
|
@ -363,3 +365,23 @@ pipewire_module_zeroconf_discover = shared_library('pipewire-module-zeroconf-dis
|
|||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, avahi_dep],
|
||||
)
|
||||
endif
|
||||
|
||||
if roc_lib.found()
|
||||
pipewire_module_roc_sink = shared_library('pipewire-module-roc-sink',
|
||||
[ 'module-roc-sink.c' ],
|
||||
include_directories : [configinc, spa_inc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
install_rpath: modules_install_dir,
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_lib],
|
||||
)
|
||||
|
||||
pipewire_module_roc_source = shared_library('pipewire-module-roc-source',
|
||||
[ 'module-roc-source.c' ],
|
||||
include_directories : [configinc, spa_inc],
|
||||
install : true,
|
||||
install_dir : modules_install_dir,
|
||||
install_rpath: modules_install_dir,
|
||||
dependencies : [mathlib, dl_lib, rt_lib, pipewire_dep, roc_lib],
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue