doc: in user-facing config examples, indicate which file it goes into

Add suggestions for config fragments in config file examples, as
applicable.

(cherry picked from commit ec5684302c)
This commit is contained in:
Pauli Virtanen 2024-09-14 15:43:25 +03:00
parent 5e0899b29e
commit c63ae35034
34 changed files with 142 additions and 26 deletions

View file

@ -74,6 +74,8 @@ Some of these properties map to the PulseAudio `/etc/pulse/default.pa` config en
## Example
```css
# ~/.config/pipewire/pipewire-pulse.conf.d/custom.conf
stream.properties = {
#node.latency = 1024/48000
#node.autoconnect = true
@ -124,6 +126,8 @@ for available options.
## Example
```css
# ~/.config/pipewire/pipewire-pulse.conf.d/custom.conf
pulse.rules = [
{
# skype does not want to use devices that don't have an S16 sample format.
@ -154,7 +158,8 @@ additional commands with the `pulse.cmd` section in
`pipewire-pulse.conf`.
```css
...
# ~/.config/pipewire/pipewire-pulse.conf.d/custom.conf
pulse.cmd = [
{ cmd = "load-module" args = "module-always-sink" flags = [ ] }
{ cmd = "load-module" args = "module-switch-on-connect" }