mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
fixed typo of snd_seq_poll_descriptors() in getting poll desc
for output only.
This commit is contained in:
parent
518d16d849
commit
fe58dd62eb
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ int snd_seq_poll_descriptors(snd_seq_t *seq, struct pollfd *pfds, unsigned int s
|
|||
revents |= POLLIN|POLLERR;
|
||||
}
|
||||
if ((events & POLLOUT) && space >= 1) {
|
||||
assert(seq->streams & SND_SEQ_OPEN_INPUT);
|
||||
assert(seq->streams & SND_SEQ_OPEN_OUTPUT);
|
||||
revents |= POLLOUT|POLLERR;
|
||||
}
|
||||
if (!revents)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue