mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 04:55:41 +01:00
aplay - remove EINTR handling (a job for alsa-lib)
This commit is contained in:
parent
7fb39a9cd5
commit
9997c99faf
1 changed files with 0 additions and 8 deletions
|
@ -1178,8 +1178,6 @@ static ssize_t pcm_write(u_char *data, size_t count)
|
||||||
xrun();
|
xrun();
|
||||||
} else if (r == -ESTRPIPE) {
|
} else if (r == -ESTRPIPE) {
|
||||||
suspend();
|
suspend();
|
||||||
} else if (r == -EINTR) {
|
|
||||||
continue;
|
|
||||||
} else if (r < 0) {
|
} else if (r < 0) {
|
||||||
error(_("write error: %s"), snd_strerror(r));
|
error(_("write error: %s"), snd_strerror(r));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
@ -1222,8 +1220,6 @@ static ssize_t pcm_writev(u_char **data, unsigned int channels, size_t count)
|
||||||
xrun();
|
xrun();
|
||||||
} else if (r == -ESTRPIPE) {
|
} else if (r == -ESTRPIPE) {
|
||||||
suspend();
|
suspend();
|
||||||
} else if (r == -EINTR) {
|
|
||||||
continue;
|
|
||||||
} else if (r < 0) {
|
} else if (r < 0) {
|
||||||
error(_("writev error: %s"), snd_strerror(r));
|
error(_("writev error: %s"), snd_strerror(r));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
@ -1263,8 +1259,6 @@ static ssize_t pcm_read(u_char *data, size_t rcount)
|
||||||
xrun();
|
xrun();
|
||||||
} else if (r == -ESTRPIPE) {
|
} else if (r == -ESTRPIPE) {
|
||||||
suspend();
|
suspend();
|
||||||
} else if (r == -EINTR) {
|
|
||||||
continue;
|
|
||||||
} else if (r < 0) {
|
} else if (r < 0) {
|
||||||
error(_("read error: %s"), snd_strerror(r));
|
error(_("read error: %s"), snd_strerror(r));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
@ -1304,8 +1298,6 @@ static ssize_t pcm_readv(u_char **data, unsigned int channels, size_t rcount)
|
||||||
xrun();
|
xrun();
|
||||||
} else if (r == -ESTRPIPE) {
|
} else if (r == -ESTRPIPE) {
|
||||||
suspend();
|
suspend();
|
||||||
} else if (r == -EINTR) {
|
|
||||||
continue;
|
|
||||||
} else if (r < 0) {
|
} else if (r < 0) {
|
||||||
error(_("readv error: %s"), snd_strerror(r));
|
error(_("readv error: %s"), snd_strerror(r));
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|
Loading…
Reference in a new issue