mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
modules: improve simple-protocol arguments
Use the format parsing code to also parse the channel_map. Improve serialization of the properties. See #2068
This commit is contained in:
parent
0ba5aebf0b
commit
ee007eaf6c
2 changed files with 29 additions and 29 deletions
|
|
@ -70,7 +70,7 @@ PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
|||
|
||||
#define MODULE_USAGE "[ capture=<bool> ] " \
|
||||
"[ playback=<bool> ] " \
|
||||
"[ capture.node=<source-target> ] " \
|
||||
"[ capture.node=<source-target> [ stream.capture.sink=true ]] " \
|
||||
"[ playback.node=<sink-target> ] " \
|
||||
"[ audio.rate=<sample-rate, default:"DEFAULT_RATE"> ] " \
|
||||
"[ audio.format=<format, default:"DEFAULT_FORMAT"> ] " \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue