mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
Add source example for the loopback module
This commit is contained in:
parent
8ffb74c8e2
commit
04e769ff35
1 changed files with 26 additions and 0 deletions
|
|
@ -111,6 +111,32 @@
|
||||||
* ]
|
* ]
|
||||||
*\endcode
|
*\endcode
|
||||||
*
|
*
|
||||||
|
* ## Example configuration of a virtual source
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
|
*
|
||||||
|
*\code{.unparsed}
|
||||||
|
* context.modules = [
|
||||||
|
* { name = libpipewire-module-loopback
|
||||||
|
* args = {
|
||||||
|
* node.description = "Scarlett Focusrite Line 1"
|
||||||
|
* capture.props = {
|
||||||
|
* audio.position = [ FL ]
|
||||||
|
* stream.dont-remix = true
|
||||||
|
* node.target = "alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7ZD17C24495BC-00.analog-stereo"
|
||||||
|
* node.passive = true
|
||||||
|
* }
|
||||||
|
* playback.props = {
|
||||||
|
* node.name = "SF_mono_in_1"
|
||||||
|
* media.class = "Audio/Source"
|
||||||
|
* audio.position = [ MONO ]
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* }
|
||||||
|
* ]
|
||||||
|
*\endcode
|
||||||
|
*
|
||||||
* ## See also
|
* ## See also
|
||||||
*
|
*
|
||||||
* `pw-loopback` : a tool that loads the loopback module with given parameters.
|
* `pw-loopback` : a tool that loads the loopback module with given parameters.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue