mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -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
|
|
@ -22,12 +22,12 @@
|
|||
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
|
||||
#define FACTORY_USAGE PW_KEY_LINK_OUTPUT_NODE"=<output-node> " \
|
||||
"["PW_KEY_LINK_OUTPUT_PORT"=<output-port>] " \
|
||||
PW_KEY_LINK_INPUT_NODE"=<input-node> " \
|
||||
"["PW_KEY_LINK_INPUT_PORT"=<input-port>] " \
|
||||
"["PW_KEY_OBJECT_LINGER"=<bool>] " \
|
||||
"["PW_KEY_LINK_PASSIVE"=<bool>]"
|
||||
#define FACTORY_USAGE "("PW_KEY_LINK_OUTPUT_NODE"=<output-node>) " \
|
||||
"("PW_KEY_LINK_OUTPUT_PORT"=<output-port>) " \
|
||||
"("PW_KEY_LINK_INPUT_NODE"=<input-node>) " \
|
||||
"("PW_KEY_LINK_INPUT_PORT"=<input-port>) " \
|
||||
"("PW_KEY_OBJECT_LINGER"=<bool>) " \
|
||||
"("PW_KEY_LINK_PASSIVE"=<bool>)"
|
||||
|
||||
static const struct spa_dict_item module_props[] = {
|
||||
{ PW_KEY_MODULE_AUTHOR, "Wim Taymans <wim.taymans@gmail.com>" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue