summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/input/alsamidi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/alsamidi.cc b/drumgizmo/input/alsamidi.cc
index 068ea2b..7281da7 100644
--- a/drumgizmo/input/alsamidi.cc
+++ b/drumgizmo/input/alsamidi.cc
@@ -136,7 +136,7 @@ void AlsaMidiInputEngine::run(size_t pos, size_t len,
{
assert(events.empty());
snd_seq_event_t* ev = NULL;
- if ( snd_seq_event_input(seq_handle, &ev) >= 0 )
+ while(snd_seq_event_input(seq_handle, &ev) >= 0)
{
// TODO Better solution needed: The ALSA MIDI event structure does
// not seem to contain the raw MIDI data, therefore we have to re-create