summaryrefslogtreecommitdiff
path: root/x1k2-midi-osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'x1k2-midi-osc.c')
-rw-r--r--x1k2-midi-osc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x1k2-midi-osc.c b/x1k2-midi-osc.c
index 3ad763d..e91dd09 100644
--- a/x1k2-midi-osc.c
+++ b/x1k2-midi-osc.c
@@ -78,7 +78,7 @@ static void send_note_on(snd_rawmidi_t *midi_out, int note)
if ( r != 3 ) {
printf("snd_rawmidi_write said %li\n", r);
}
- snd_rawmidi_drain(midi_out);
+ usleep(1000);
}
@@ -93,7 +93,7 @@ static void send_note_off(snd_rawmidi_t *midi_out, int note)
if ( r != 3 ) {
printf("snd_rawmidi_write said %li\n", r);
}
- snd_rawmidi_drain(midi_out);
+ usleep(1000);
}