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:
Wim Taymans 2023-03-22 16:35:55 +01:00
parent 3decaa6457
commit 07e6f44e58
24 changed files with 200 additions and 200 deletions

View file

@ -114,18 +114,18 @@
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
#define PW_LOG_TOPIC_DEFAULT mod_topic
#define MODULE_USAGE "[ remote.name=<remote> ] " \
"[ node.latency=<latency as fraction> ] " \
"[ node.name=<name of the nodes> ] " \
"[ node.description=<description of the nodes> ] " \
"[ target.object=<remote node target name or serial> ] "\
"[ audio.format=<sample format> ] " \
"[ audio.rate=<sample rate> ] " \
"[ audio.channels=<number of channels> ] " \
"[ audio.position=<channel map> ] " \
"[ tunnel.mode=capture|playback|sink|source " \
"[ pipe.filename=<filename> ]" \
"[ stream.props=<properties> ] "
#define MODULE_USAGE "( remote.name=<remote> ) " \
"( node.latency=<latency as fraction> ) " \
"( node.name=<name of the nodes> ) " \
"( node.description=<description of the nodes> ) " \
"( target.object=<remote node target name or serial> ) "\
"( audio.format=<sample format> ) " \
"( audio.rate=<sample rate> ) " \
"( audio.channels=<number of channels> ) " \
"( audio.position=<channel map> ) " \
"( tunnel.mode=capture|playback|sink|source )" \
"( pipe.filename=<filename> )" \
"( stream.props=<properties> ) "
static const struct spa_dict_item module_props[] = {