mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pw-cat: fix pw-play and pw-record names
This commit is contained in:
parent
9100fb653d
commit
525ca21ece
1 changed files with 2 additions and 2 deletions
|
|
@ -776,9 +776,9 @@ int main(int argc, char *argv[])
|
||||||
prog = argv[0];
|
prog = argv[0];
|
||||||
|
|
||||||
/* prime the mode from the program name */
|
/* prime the mode from the program name */
|
||||||
if (!strcmp(prog, "pwplay"))
|
if (!strcmp(prog, "pw-play"))
|
||||||
data.mode = mode_playback;
|
data.mode = mode_playback;
|
||||||
else if (!strcmp(prog, "pwrecord"))
|
else if (!strcmp(prog, "pw-record"))
|
||||||
data.mode = mode_record;
|
data.mode = mode_record;
|
||||||
else
|
else
|
||||||
data.mode = mode_none;
|
data.mode = mode_none;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue