From 59a8253047d424bb90b532706c033dfd56a23cef Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 20 May 2021 11:58:18 +1000 Subject: [PATCH] man: fix the pipewire.conf man page This still referred to a config file format prior to 49d11acde01c. Reword sections accordingly and try to explain the actual configuration file format. xmltoman is quite limited in its supported tags, so we need to use wrong tags to get some sensible formatting, notably to get a bold word. --- man/pipewire.conf.5.xml.in | 73 +++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 41 deletions(-) diff --git a/man/pipewire.conf.5.xml.in b/man/pipewire.conf.5.xml.in index ee3a15130..3295f3822 100644 --- a/man/pipewire.conf.5.xml.in +++ b/man/pipewire.conf.5.xml.in @@ -26,51 +26,42 @@ This file is part of PipeWire. directory, subdirectory and file respectively.

-
- - +
+

The configuration file format is grouped into sections. A section + is either a dictionary, {}, or an array, []. Dictionary and array + entries are separated by whitespace and may be simple value + assignment, an array or a dictionary. For example: +

+

name = value # simple assignment

+

name = { key1 = value1 key2 = value2 } # a dictionary with two + entries

+

name = [ value1 value2 ] # an array with two entries

+

name = [ { k = v1 } { k = v2 } ] # an array of dictionaries

-
- +
+

context.properties (dictionary): These properties + configure the pipewire instance. +

+

context.spa-libs (dictionary): Maps plugin features with + globs to a spa library. +

+

context.modules (array): Each entry in the array is a + dictionary with the name of the module to load, including + optional args and flags. Most modules support + being loaded multiple times. +

+

context.objects (array): Each entry in the array is a + dictionary containing the factory to create an object from + and optional extra arguments specific to that factory. +

+

context.exec (array): Each entry in the array is + dictionary containing the path of a program to execute on + startup and optional args. This array usually contains an + entry to start the session manager. +

-
- -
- -
- -
- -
- -
- -
- -

The PipeWire Developers <@PACKAGE_BUGREPORT@>; PipeWire is available from