Send audio from a window to a virtual capture device
- Make a virtual input to loop captured audio.
Example pipewire.conf:
# ...
context.objects = [
{ factory = adapter
args = {
factory.name = support.null-audio-sink
node.name = "capture"
node.description = "Virtual Capture"
media.class = "Audio/Source/Virtual"
audio.position = "FL,FR"
}
}
# ...
]
-
Edit
capture-window
and changeDEST="capture"
to thenode.name
. -
Run script, select window, and direct whatever recording program to use the loop device.