mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
echo-cancel: Set file mode to binary in test code
This commit is contained in:
parent
0bbe94f5db
commit
f40df053c8
1 changed files with 3 additions and 3 deletions
|
|
@ -2047,12 +2047,12 @@ int main(int argc, char* argv[]) {
|
|||
goto usage;
|
||||
}
|
||||
|
||||
u.captured_file = fopen(argv[2], "r");
|
||||
u.captured_file = fopen(argv[2], "rb");
|
||||
if (u.captured_file == NULL) {
|
||||
perror ("fopen failed");
|
||||
goto fail;
|
||||
}
|
||||
u.played_file = fopen(argv[1], "r");
|
||||
u.played_file = fopen(argv[1], "rb");
|
||||
if (u.played_file == NULL) {
|
||||
perror ("fopen failed");
|
||||
goto fail;
|
||||
|
|
@ -2091,7 +2091,7 @@ int main(int argc, char* argv[]) {
|
|||
goto fail;
|
||||
}
|
||||
|
||||
u.drift_file = fopen(argv[6], "r");
|
||||
u.drift_file = fopen(argv[6], "rt");
|
||||
|
||||
if (u.drift_file == NULL) {
|
||||
perror ("fopen failed");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue