PipeWire 1.1.0
|
The loopback module passes the output of a capture stream unmodified to a playback stream.
It can be used to construct a link between a source and sink but also to create new virtual sinks or sources or to remap channel between streams.
Because both ends of the loopback are built with streams, the session manager can manage the configuration and connection with the sinks and sources.
libpipewire-module-loopback
node.description
: a human readable name for the loopback streamstarget.delay.sec
: delay in seconds as float (Since 0.3.60)capture.props = {}
: properties to be passed to the input streamplayback.props = {}
: properties to be passed to the output streamOptions with well-known behavior. Most options can be added to the global configuration or the individual streams:
Stream only properties:
Channels from the capture stream are copied, in order, to the channels of the output stream. The remaining streams are ignored (when capture has more channels) or filled with silence (when playback has more channels).
When a global channel position is set, both capture and playback will be converted to and from this common channel layout. This can be used to implement up or downmixing loopback sinks/sources.
This Virtual sink routes stereo input to the rear channels of a 7.1 sink.
This Virtual source routes the front-left channel of a multi-channel input to a mono channel. This is useful for splitting up multi-channel inputs from USB audio interfaces that are not yet fully supported by alsa.
This Virtual sink has 2 input channels and 6 output channels. It will perform upmixing using the PSD algorithm on the playback stream.
pw-loopback
: a tool that loads the loopback module with given parameters.