mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-15 22:05:28 -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
|
|
@ -106,19 +106,19 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
|||
#define DEFAULT_CHANNELS 2
|
||||
#define DEFAULT_POSITION "[ FL FR ]"
|
||||
|
||||
#define MODULE_USAGE "[ remote.name=<remote> ] " \
|
||||
"[ node.latency=<latency as fraction> ] " \
|
||||
"[ node.name=<name of the nodes> ] " \
|
||||
"[ node.description=<description of the nodes> ] " \
|
||||
"[ node.target=<remote node target name or serial> ] " \
|
||||
"[ audio.format=<sample format> ] " \
|
||||
"[ audio.rate=<sample rate> ] " \
|
||||
"[ audio.channels=<number of channels> ] " \
|
||||
"[ audio.position=<channel map> ] " \
|
||||
#define MODULE_USAGE "( remote.name=<remote> ] " \
|
||||
"( node.latency=<latency as fraction> ] " \
|
||||
"( node.name=<name of the nodes> ] " \
|
||||
"( node.description=<description of the nodes> ] " \
|
||||
"( node.target=<remote node target name or serial> ] " \
|
||||
"( audio.format=<sample format> ] " \
|
||||
"( audio.rate=<sample rate> ] " \
|
||||
"( audio.channels=<number of channels> ] " \
|
||||
"( audio.position=<channel map> ] " \
|
||||
"pulse.server.address=<address> " \
|
||||
"pulse.latency=<latency in msec> " \
|
||||
"[ tunnel.mode=source|sink " \
|
||||
"[ stream.props=<properties> ] "
|
||||
"( pulse.latency=<latency in msec, default 200> ) " \
|
||||
"( tunnel.mode=source|sink, default sink ) " \
|
||||
"( stream.props=<properties> ) "
|
||||
|
||||
|
||||
static const struct spa_dict_item module_props[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue