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

@ -157,19 +157,19 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
static const struct spa_dict_item module_props[] = {
{ PW_KEY_MODULE_AUTHOR, "Wim Taymans <wim.taymans@gmail.com>" },
{ PW_KEY_MODULE_DESCRIPTION, "Echo Cancellation" },
{ PW_KEY_MODULE_USAGE, " [ remote.name=<remote> ] "
"[ node.latency=<latency as fraction> ] "
"[ audio.rate=<sample rate> ] "
"[ audio.channels=<number of channels> ] "
"[ audio.position=<channel map> ] "
"[ buffer.max_size=<max buffer size in ms> ] "
"[ buffer.play_delay=<delay as fraction> ] "
"[ library.name =<library name> ] "
"[ aec.args=<aec arguments> ] "
"[ capture.props=<properties> ] "
"[ source.props=<properties> ] "
"[ sink.props=<properties> ] "
"[ playback.props=<properties> ] " },
{ PW_KEY_MODULE_USAGE, " ( remote.name=<remote> ) "
"( node.latency=<latency as fraction> ) "
"( audio.rate=<sample rate> ) "
"( audio.channels=<number of channels> ) "
"( audio.position=<channel map> ) "
"( buffer.max_size=<max buffer size in ms> ) "
"( buffer.play_delay=<delay as fraction> ) "
"( library.name =<library name> ) "
"( aec.args=<aec arguments> ) "
"( capture.props=<properties> ) "
"( source.props=<properties> ) "
"( sink.props=<properties> ) "
"( playback.props=<properties> ) " },
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
};