mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
pacat: Fix mode detection for parecord
Due to the missing "else", parecord was interpreted as parec, causing the raw flag to be set when it shouldn't have been set.
This commit is contained in:
parent
c0d1b1e75f
commit
a560cf3b67
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ int main(int argc, char *argv[]) {
|
|||
} else if (strstr(bn, "cat")) {
|
||||
mode = PLAYBACK;
|
||||
raw = TRUE;
|
||||
} if (strstr(bn, "rec") || strstr(bn, "mon")) {
|
||||
} else if (strstr(bn, "rec") || strstr(bn, "mon")) {
|
||||
mode = RECORD;
|
||||
raw = TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue