... | ... | @@ -53,7 +53,7 @@ Creating links from the config file is difficult because most sinks and ports ar |
|
|
created and might not be available when the config file is processed. It is really only
|
|
|
possible to link between completely static node definitions.
|
|
|
|
|
|
It is recommended to use [Coupled streams](#coupled-streams) to make virtual sinks because they
|
|
|
It is recommended to use [coupled streams](#coupled-streams) to make virtual sinks because they
|
|
|
will automatically be linked by the session manager.
|
|
|
|
|
|
|
... | ... | @@ -234,7 +234,8 @@ This table lists some of the common properties that can be set on playback and c |
|
|
| node.target | The desired source or sink node to connect to. |
|
|
|
| node.dont-reconnect | If the node.target disappears, kill the stream and don't reconnect. |
|
|
|
| node.passive | This node should be suspended with the sink when nothing is using it. |
|
|
|
| stream.dont-remix | Don't remix the channels of the stream |
|
|
|
| stream.dont-remix | Don't remix the channels of the stream.
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table summarizes the typical use cases:
|
... | ... | @@ -252,7 +253,7 @@ We refer the the [Client stream Configuration](Config-client#streamproperties) f |
|
|
|
|
|
### Loopback
|
|
|
|
|
|
Use `pw-loopback` with no arguments or load the libpipewire-module-loopback without any arguments to get the default loopback behaviour.
|
|
|
Use `pw-loopback` with no arguments or load the libpipewire-module-loopback without any arguments to get the default loopback behavior.
|
|
|
|
|
|
```
|
|
|
pw-loopback
|
... | ... | @@ -331,9 +332,9 @@ stream to the source/sink to be echo canceled. |
|
|
|
|
|
The following example snippets need to be placed in `pipewire.conf` or `pipewire-pulse.conf` in the `context.modules` section or can be added to the `pipewire.conf.d` or `pipewire-pulse.conf.d` directories.
|
|
|
|
|
|
## Virtual mono source
|
|
|
## Virtual Mono Source
|
|
|
|
|
|
This is an example of how to make a new source that makes a mono channel from the Front Left channel:
|
|
|
This is an example of how to make a new source that makes a mono channel from the front left channel:
|
|
|
|
|
|
```
|
|
|
context.modules = [
|
... | ... | @@ -361,9 +362,9 @@ The `stream.dont-remix` property makes sure that only the FL port of the capture |
|
|
|
|
|
The `node.passive` property instructs the session manager to create passive links between the stream and the device node so that, when nothing is connected to the source, both streams will idle (and suspend if the session manager has this configured).
|
|
|
|
|
|
## Virtual sinks
|
|
|
## Virtual Sinks
|
|
|
|
|
|
Some Pro cards have many independent inputs but you would only like to use a certain pair for media playback. This snippet will set up 2 stereo sinks on the first and second pair of channels of a 7.1 surround device.
|
|
|
Some professional cards have many independent inputs but you would only like to use a certain pair for media playback. This snippet will set up 2 stereo sinks on the first and second pair of channels of a 7.1 surround device.
|
|
|
|
|
|
```
|
|
|
context.modules = [
|
... | ... | @@ -404,7 +405,7 @@ context.modules = [ |
|
|
]
|
|
|
```
|
|
|
|
|
|
## Behringer UMC404HD speakers/headphones virtual sinks
|
|
|
## Behringer UMC404HD Speakers/Headphones Virtual Sinks
|
|
|
|
|
|
The card is placed in the "Pro Audio" profile and 2 sinks are created, one for each stereo pair. The Behringer has an option to route the second stereo pair to the headphones.
|
|
|
|
... | ... | @@ -447,7 +448,7 @@ context.modules = [ |
|
|
]
|
|
|
```
|
|
|
|
|
|
## Behringer UMC404HD mic/guitar virtual sources
|
|
|
## Behringer UMC404HD Microphone/Guitar Virtual Sources
|
|
|
|
|
|
A condenser microphone is plugged into the first input port, the output of a guitar amplifier is plugged into the second input.
|
|
|
|
... | ... | |