mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pw-cat: add pw-midiplay and pw-midirecord aliases
This commit is contained in:
parent
f11cd32258
commit
5b9e82c4e8
2 changed files with 9 additions and 1 deletions
|
|
@ -1234,7 +1234,13 @@ int main(int argc, char *argv[])
|
|||
data.mode = mode_playback;
|
||||
else if (!strcmp(prog, "pw-record"))
|
||||
data.mode = mode_record;
|
||||
else
|
||||
else if (!strcmp(prog, "pw-midiplay")) {
|
||||
data.mode = mode_playback;
|
||||
data.is_midi = true;
|
||||
} else if (!strcmp(prog, "pw-midirecord")) {
|
||||
data.mode = mode_record;
|
||||
data.is_midi = true;
|
||||
} else
|
||||
data.mode = mode_none;
|
||||
|
||||
/* negative means no volume adjustment */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue