tools: add pw-loopback

Sends the captured data from a source directly to a sink.

It uses an input and output stream so the source and sink can be
moved in pavucontrol, channel remixing is possible and the volume
can be adjusted.

See #959
This commit is contained in:
Wim Taymans 2021-03-24 17:02:21 +01:00
parent 20b8426013
commit 4bcb7e0468
2 changed files with 331 additions and 0 deletions

View file

@ -45,6 +45,13 @@ executable('pw-metadata',
dependencies : [pipewire_dep],
)
executable('pw-loopback',
[ 'pw-loopback.c'],
c_args : [ '-D_GNU_SOURCE' ],
install: true,
dependencies : [pipewire_dep],
)
if ncurses_dep.found()
executable('pw-top',
'pw-top.c',