... | ... | @@ -27,6 +27,8 @@ Since 0.3.45 you can also copy fragments of the config file to a file in the dir |
|
|
*Note!! Properties will override the previous ones, array entries will be appended. It is not possible yet to change
|
|
|
or remove existing array entries. This only applied to the first level objects, arrays in properties will be overwritten as usual.*
|
|
|
|
|
|
See [here](#split-file-configuration) for some examples.
|
|
|
|
|
|
The `pipewire.conf` has some basic configuration for the graph scheduling settings and what modules to load by default. It will also launch the session manager, though that is no longer the default and has been depreciated after 0.3.22 in favor of a systemd service file.
|
|
|
|
|
|
To configure the session manager, please go to:
|
... | ... | @@ -140,14 +142,14 @@ only, when enabled. |
|
|
```
|
|
|
core.daemon = true
|
|
|
```
|
|
|
Makes the pipewire process started with this config a deamon process. This means that it
|
|
|
Makes the PipeWire process, started with this config, a deamon process. This means that it
|
|
|
will manage and schedule a graph for clients. You would also want to configure a
|
|
|
core.name to give it a well known name.
|
|
|
|
|
|
```
|
|
|
core.name = pipewire-0
|
|
|
```
|
|
|
The name of the pipewire context. This will also be the name of the pipewire socket clients
|
|
|
The name of the PipeWire context. This will also be the name of the PipeWire socket clients
|
|
|
can connect to.
|
|
|
|
|
|
|
... | ... | @@ -362,21 +364,48 @@ Changing Default Clock Rate: |
|
|
|
|
|
Place a `10-clock-rate.conf` file in `~/.config/pipewire/pipewire.conf.d/` with the contents:
|
|
|
|
|
|
```
|
|
|
```json
|
|
|
context.properties = {
|
|
|
default.clock.rate = 44100
|
|
|
}
|
|
|
```
|
|
|
Turning Default Upmixing Off:
|
|
|
Turning Default Upmixing Off for pulseaudio clients:
|
|
|
|
|
|
Place a `11-channelmix-upmix.conf` file in `~/config/pipewire/pipewire-pulse.conf.d/` with the contents:
|
|
|
|
|
|
```
|
|
|
```json
|
|
|
stream.properties = {
|
|
|
channelmix.upmix = false
|
|
|
}
|
|
|
```
|
|
|
|
|
|
Load an extra module in the PipeWire daemon:
|
|
|
|
|
|
Place a `20-virtual-pipe-source.conf` file in `~/config/pipewire/pipewire.conf.d/` with the contents:
|
|
|
|
|
|
```json
|
|
|
context.modules = [
|
|
|
{ name = libpipewire-module-pipe-tunnel
|
|
|
args = {
|
|
|
tunnel.mode = source
|
|
|
pipe.filename = "/tmp/virtualdevice"
|
|
|
audio.format = S16LE
|
|
|
audio.rate = 44100
|
|
|
audio.channels = 2
|
|
|
audio.position = [ FL FR ]
|
|
|
stream.props = {
|
|
|
node.name = VirtualMic
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
```
|
|
|
|
|
|
See [here](Virtual-Devices#pipe-devices) for more information about the pipe tunnels.
|
|
|
|
|
|
# Other virtual devices
|
|
|
|
|
|
|
|
|
# Rules
|
|
|
|
|
|
Some config files can contain match rules. This makes it possible to perform some action when an
|
... | ... | @@ -442,7 +471,7 @@ pw-metadata -n settings |
|
|
|
|
|
## Log Settings
|
|
|
|
|
|
To temporarily increase the log level of the pipewire daemon, use:
|
|
|
To temporarily increase the log level of the PipeWire daemon, use:
|
|
|
|
|
|
```
|
|
|
pw-metadata -n settings 0 log.level <level>
|
... | ... | |