aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcm.c b/pcm.c
index 1a5d84b..5381a89 100644
--- a/pcm.c
+++ b/pcm.c
@@ -918,7 +918,7 @@ int pcm_wait(struct pcm *pcm, int timeout)
int err;
pfd.fd = pcm->fd;
- pfd.events = POLLOUT | POLLERR | POLLNVAL;
+ pfd.events = POLLIN | POLLOUT | POLLERR | POLLNVAL;
do {
/* let's wait for avail or timeout */