aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-23 17:26:59 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-23 17:26:59 +0000
commitaa302a4b4579907863459dee43e67b8680390d2f (patch)
treeeeb92033bf71a0e2abaccad87761ccaecd543186
parente425ad5acdeb1e32d92b2f45ee0c9aa071687c18 (diff)
removed bull
svn path=/trunk/; revision=11483
-rw-r--r--desiredata/src/s_midi_oss.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/desiredata/src/s_midi_oss.c b/desiredata/src/s_midi_oss.c
index 1cfeae7c..f4a7cce1 100644
--- a/desiredata/src/s_midi_oss.c
+++ b/desiredata/src/s_midi_oss.c
@@ -152,13 +152,10 @@ void sys_poll_midi() {
}
}
#else
-/* this version uses the asynchronous "read()" ... */
void sys_poll_midi() {
int throttle = 100;
- struct timeval timout;
- int did = 1, maxfd = 0;
+ int did = 1;
while (did) {
- fd_set readset, writeset, exceptset;
did = 0;
if (throttle-- < 0) break;
for (int i=0; i<oss_nmidiin; i++) {