mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 21:35:43 +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;
|
||||
}
|
||||
if (l < -1) {
|
||||
fprintf(stderr, "write error\n");
|
||||
if (l < 0) {
|
||||
fprintf(stderr, "read error: %s\n", snd_strerror(l));
|
||||
exit(-1);
|
||||
}
|
||||
if (l == 0)
|
||||
|
|
Loading…
Reference in a new issue