Commit 44f32601 authored by Wim Taymans's avatar Wim Taymans
Browse files

module-pulse-tunner: add module to tunnel to PulseAudio

Add a module that can make a source or sink that tunnels audio
to or from a (remote) PulseAudio server.
parent 685ff1dc
Pipeline #318144 passed with stages
in 2 minutes and 26 seconds
......@@ -310,6 +310,7 @@ dbus_dep = dependency('dbus-1')
sdl_dep = dependency('sdl2', required : get_option('sdl2'))
ncurses_dep = dependency('ncursesw', required : false)
sndfile_dep = dependency('sndfile', version : '>= 1.0.20', required : get_option('sndfile'))
pulseaudio_dep = dependency('libpulse', required : get_option('libpulse'))
gst_option = get_option('gstreamer')
gst_deps_def = {
......
......@@ -183,3 +183,7 @@ option('sndfile',
description: 'Enable code that depends on libsndfile',
type: 'feature',
value: 'auto')
option('libpulse',
description: 'Enable code that depends on libpulse',
type: 'feature',
value: 'auto')
......@@ -149,6 +149,18 @@ pipewire_module_protocol_pulse = shared_library('pipewire-module-protocol-pulse'
dependencies : pipewire_module_protocol_pulse_deps,
)
if pulseaudio_dep.found()
pipewire_module_pulse_tunnel = shared_library('pipewire-module-pulse-tunnel',
[ 'module-pulse-tunnel.c' ],
c_args : pipewire_module_c_args,
include_directories : [configinc, spa_inc],
install : true,
install_dir : modules_install_dir,
install_rpath: modules_install_dir,
dependencies : [mathlib, dl_lib, pipewire_dep, pulseaudio_dep],
)
endif
pipewire_module_protocol_simple = shared_library('pipewire-module-protocol-simple',
[ 'module-protocol-simple.c' ],
c_args : pipewire_module_c_args,
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment