mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -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
|
|
@ -54,7 +54,6 @@
|
|||
* context.modules = [
|
||||
* { name = libpipewire-module-roc-sink
|
||||
* args = {
|
||||
* local.ip = 0.0.0.0
|
||||
* fec.code = disable
|
||||
* remote.ip = 192.168.0.244
|
||||
* remote.source.port = 10001
|
||||
|
|
@ -350,13 +349,12 @@ static int roc_sink_setup(struct module_roc_sink_data *data)
|
|||
static const struct spa_dict_item module_roc_sink_info[] = {
|
||||
{ PW_KEY_MODULE_AUTHOR, "Sanchayan Maity <sanchayan@asymptotic.io>" },
|
||||
{ PW_KEY_MODULE_DESCRIPTION, "roc sink" },
|
||||
{ PW_KEY_MODULE_USAGE, "sink.name=<name for the sink> "
|
||||
"local.ip=<local sender ip> "
|
||||
"fec.code=<empty>|disable|rs8m|ldpc "
|
||||
{ PW_KEY_MODULE_USAGE, "( sink.name=<name for the sink> ) "
|
||||
"( fec.code=<empty>|disable|rs8m|ldpc ) "
|
||||
"remote.ip=<remote receiver ip> "
|
||||
"remote.source.port=<remote receiver port for source packets> "
|
||||
"remote.repair.port=<remote receiver port for repair packets> "
|
||||
"sink.props= { key=val ... } " },
|
||||
"( remote.source.port=<remote receiver port for source packets> ) "
|
||||
"( remote.repair.port=<remote receiver port for repair packets> ) "
|
||||
"( sink.props= { key=val ... } ) " },
|
||||
{ PW_KEY_MODULE_VERSION, PACKAGE_VERSION },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue