mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:45:41 +01:00
Fixed use of poll_descriptors
This commit is contained in:
parent
59bbfe130f
commit
33b8d4717e
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ static void init_seq(char *source, char *dest)
|
||||||
perror("snd_seq_open");
|
perror("snd_seq_open");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
err = snd_seq_poll_descriptors(handle, &pfd, 1);
|
err = snd_seq_poll_descriptors(handle, &pfd, 1, POLLIN | POLLOUT);
|
||||||
assert(err == 1);
|
assert(err == 1);
|
||||||
seqfd = pfd.fd;
|
seqfd = pfd.fd;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue