mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-21 08:56:52 -05: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;
|
revents |= POLLIN|POLLERR;
|
||||||
}
|
}
|
||||||
if ((events & POLLOUT) && space >= 1) {
|
if ((events & POLLOUT) && space >= 1) {
|
||||||
assert(seq->streams & SND_SEQ_OPEN_INPUT);
|
assert(seq->streams & SND_SEQ_OPEN_OUTPUT);
|
||||||
revents |= POLLOUT|POLLERR;
|
revents |= POLLOUT|POLLERR;
|
||||||
}
|
}
|
||||||
if (!revents)
|
if (!revents)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue