1 --- TiMidity++-2.13.2/interface/alsaseq_c.c.orig 2010-12-16 13:26:54.000000000 +0100
2 +++ TiMidity++-2.13.2/interface/alsaseq_c.c 2010-12-16 14:15:24.486618509 +0100
5 static void doit(struct seq_context *ctxp)
8 + struct timeval timeout;
10 while (snd_seq_event_input_pending(ctxp->handle, 1)) {
11 if (do_sequencer(ctxp))
14 aq_fill_nonblocking();
16 - if (! ctxp->active || ! IS_STREAM_TRACE) {
18 - struct timeval timeout;
20 - FD_SET(ctxp->fd, &rfds);
23 + FD_SET(ctxp->fd, &rfds);
26 timeout.tv_usec = 10000; /* 10ms */
27 if (select(ctxp->fd + 1, &rfds, NULL, NULL, &timeout) < 0)
30 + if (select(ctxp->fd + 1, &rfds, NULL, NULL, NULL) < 0)