summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index a4d863f..3941f17 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -136,7 +136,11 @@ int main(int argc, char *argv[])
client.activate();
- if(midifile) MidiPlayer player(midifile);
+ if(midifile) {
+ MidiPlayer player(midifile);
+
+ while(1) sleep(1);
+ }
while(1) sleep(1);