mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 07:26:32 +01:00
More fixes for capture
This commit is contained in:
parent
a90832df7e
commit
55408731f7
1 changed files with 2 additions and 2 deletions
|
@ -1305,8 +1305,8 @@ void capture_go(int fd, int loaded, u_long count, int rtype, char *name)
|
||||||
}
|
}
|
||||||
count -= c;
|
count -= c;
|
||||||
}
|
}
|
||||||
if (l < -1) {
|
if (l < 0) {
|
||||||
fprintf(stderr, "write error\n");
|
fprintf(stderr, "read error: %s\n", snd_strerror(l));
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
if (l == 0)
|
if (l == 0)
|
||||||
|
|
Loading…
Reference in a new issue