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

@ -371,14 +371,14 @@ static int roc_source_setup(struct module_roc_source_data *data)
static const struct spa_dict_item module_roc_source_info[] = {
{ PW_KEY_MODULE_AUTHOR, "Sanchayan Maity <sanchayan@asymptotic.io>" },
{ PW_KEY_MODULE_DESCRIPTION, "roc source" },
{ PW_KEY_MODULE_USAGE, "source.name=<name for the source> "
"resampler.profile=<empty>|disable|high|medium|low "
"fec.code=<empty>|disable|rs8m|ldpc "
"sess.latency.msec=<target network latency in milliseconds> "
"local.ip=<local receiver ip> "
"local.source.port=<local receiver port for source packets> "
"local.repair.port=<local receiver port for repair packets> "
"source.props= { key=value ... }" },
{ PW_KEY_MODULE_USAGE, "( source.name=<name for the source> ) "
"( resampler.profile=<empty>|disable|high|medium|low ) "
"( fec.code=<empty>|disable|rs8m|ldpc ) "
"( sess.latency.msec=<target network latency in milliseconds> ) "
"( local.ip=<local receiver ip> ) "
"( local.source.port=<local receiver port for source packets> ) "
"( local.repair.port=<local receiver port for repair packets> ) "
"( source.props= { key=value ... } ) " },
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
};