summaryrefslogtreecommitdiff
path: root/src/pcm/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/pcm.c')
-rw-r--r--src/pcm/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
index 01c624d3..41a36b36 100644
--- a/src/pcm/pcm.c
+++ b/src/pcm/pcm.c
@@ -2938,7 +2938,7 @@ int snd_pcm_wait_nocheck(snd_pcm_t *pcm, int timeout)
err_poll = poll(pfd, npfds, timeout);
__snd_pcm_lock(pcm->fast_op_arg);
if (err_poll < 0) {
- if (errno == EINTR && !PCMINABORT(pcm))
+ if (errno == EINTR && !PCMINABORT(pcm) && !(pcm->mode & SND_PCM_EINTR))
continue;
return -errno;
}