summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2002-07-15 14:08:32 +0000
committerTakashi Iwai <tiwai@suse.de>2002-07-15 14:08:32 +0000
commitfe58dd62eb99a2944e086e49b4a7ee63c168f5e7 (patch)
tree2412ec09edf0aef5174858dd1c78f104273619d0 /src/seq
parent518d16d8496b92f34158c504179113d322df7453 (diff)
fixed typo of snd_seq_poll_descriptors() in getting poll desc
for output only.
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seq/seq.c b/src/seq/seq.c
index b94c06a2..76885009 100644
--- a/src/seq/seq.c
+++ b/src/seq/seq.c
@@ -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)