mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-06 04:06:36 -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
|
|
@ -130,15 +130,15 @@ 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, "Create loopback streams" },
|
||||
{ PW_KEY_MODULE_USAGE, " [ remote.name=<remote> ] "
|
||||
"[ node.latency=<latency as fraction> ] "
|
||||
"[ node.description=<description of the nodes> ] "
|
||||
"[ audio.rate=<sample rate> ] "
|
||||
"[ audio.channels=<number of channels> ] "
|
||||
"[ audio.position=<channel map> ] "
|
||||
"[ target.delay.sec=<delay as seconds in float> ] "
|
||||
"[ capture.props=<properties> ] "
|
||||
"[ playback.props=<properties> ] " },
|
||||
{ PW_KEY_MODULE_USAGE, " ( remote.name=<remote> ) "
|
||||
"( node.latency=<latency as fraction> ) "
|
||||
"( node.description=<description of the nodes> ) "
|
||||
"( audio.rate=<sample rate> ) "
|
||||
"( audio.channels=<number of channels> ) "
|
||||
"( audio.position=<channel map> ) "
|
||||
"( target.delay.sec=<delay as seconds in float> ) "
|
||||
"( capture.props=<properties> ) "
|
||||
"( playback.props=<properties> ) " },
|
||||
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue