Linux command
pw-loopback 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
pw-loopback
Example
pw-loopback -m '[FL FR]' -i 'media.class=Audio/Sink'
Example
pw-loopback -m '[FL FR]' -o 'media.class=Audio/Source'
Example
pw-loopback -m '[FL FR]' -i 'media.class=Audio/Sink' -o 'media.class=Audio/Source'
Example
pw-loopback -i 'media.class=Audio/Sink audio.position=[FL FR]' -o 'audio.position=[FR FL]'
说明
pw-loopback creates virtual loopback audio devices in PipeWire. Loopback devices capture audio from one source and play it back to another destination, enabling audio routing between applications or devices. The tool can create sink devices (for capturing audio output), source devices (for providing audio input), or combined loopback configurations for audio monitoring and routing.
参数
- -m, --channel-map _map_
- Set the channel map for the loopback
- -i, --capture-props _props_
- Set properties for the capture side (sink)
- -o, --playback-props _props_
- Set properties for the playback side (source)
- -h, --help
- Display help message
FAQ
What is the pw-loopback command used for?
pw-loopback creates virtual loopback audio devices in PipeWire. Loopback devices capture audio from one source and play it back to another destination, enabling audio routing between applications or devices. The tool can create sink devices (for capturing audio output), source devices (for providing audio input), or combined loopback configurations for audio monitoring and routing.
How do I run a basic pw-loopback example?
Run `pw-loopback` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -m, --channel-map _map_ do in pw-loopback?
Set the channel map for the loopback