mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-10 04:27:48 -05:00
modules: clean up USAGE arguments
use () to mark optional arguments to avoid confusion with arrays. Add some more optional arguments.
This commit is contained in:
parent
3decaa6457
commit
07e6f44e58
24 changed files with 200 additions and 200 deletions
|
|
@ -198,15 +198,15 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
|||
#define DEFAULT_CHANNELS 2
|
||||
#define DEFAULT_POSITION "[ FL FR ]"
|
||||
|
||||
#define MODULE_USAGE "[ node.latency=<latency as fraction> ] " \
|
||||
"[ combine.mode=<mode of stream, playback|capture|sink|source>, default:sink ] " \
|
||||
"[ node.name=<name of the stream> ] " \
|
||||
"[ node.description=<description of the stream> ] " \
|
||||
"[ audio.channels=<number of channels, default:"SPA_STRINGIFY(DEFAULT_CHANNELS) "> ] " \
|
||||
"[ audio.position=<channel map, default:"DEFAULT_POSITION"> ] " \
|
||||
"[ combine.props=<properties> ] " \
|
||||
"[ stream.props=<properties> ] " \
|
||||
"[ stream.rules=<properties> ] "
|
||||
#define MODULE_USAGE "( node.latency=<latency as fraction> ) " \
|
||||
"( combine.mode=<mode of stream, playback|capture|sink|source>, default:sink ) " \
|
||||
"( node.name=<name of the stream> ) " \
|
||||
"( node.description=<description of the stream> ) " \
|
||||
"( audio.channels=<number of channels, default:"SPA_STRINGIFY(DEFAULT_CHANNELS) "> ) " \
|
||||
"( audio.position=<channel map, default:"DEFAULT_POSITION"> ) " \
|
||||
"( combine.props=<properties> ) " \
|
||||
"( stream.props=<properties> ) " \
|
||||
"( stream.rules=<properties> ) "
|
||||
|
||||
|
||||
static const struct spa_dict_item module_props[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue