mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
man: update man pages
Add man page for pipewire-cli
This commit is contained in:
parent
6af4f08c6e
commit
807af5b983
5 changed files with 220 additions and 33 deletions
|
|
@ -431,6 +431,7 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
struct data data = { 0 };
|
||||
struct pw_loop *l;
|
||||
struct pw_properties *props = NULL;
|
||||
|
||||
pw_init(&argc, &argv);
|
||||
|
||||
|
|
@ -446,7 +447,10 @@ int main(int argc, char *argv[])
|
|||
if (data.core == NULL)
|
||||
return -1;
|
||||
|
||||
data.remote = pw_remote_new(data.core, NULL, 0);
|
||||
if (argc > 1)
|
||||
props = pw_properties_new(PW_REMOTE_PROP_REMOTE_NAME, argv[1], NULL);
|
||||
|
||||
data.remote = pw_remote_new(data.core, props, 0);
|
||||
if (data.remote == NULL)
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue