summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc75
1 files changed, 58 insertions, 17 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 649b364..b3b7473 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -28,6 +28,63 @@
#include "drumkitparser.h"
+int main(int argc, char *argv[])
+{
+ DrumKitParser parser("/tmp/aasimonster/aasimonster.xml");
+ if(parser.parse()) return 1;
+
+ JackClient client(parser.getDrumkit());
+
+ client.activate();
+
+ // sendMidi();
+
+ while(1) sleep(1);
+
+ return 0;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#if 0
#include <jack/jack.h>
#include <jack/midiport.h>
@@ -78,20 +135,4 @@ void sendMidi()
jack_connect(jack_client, "DrumGizmo:output_1", "system:playback_1");
jack_connect(jack_client, "DrumGizmo:output_2", "system:playback_2");
}
-
-int main(int argc, char *argv[])
-{
- DrumKitParser parser("/tmp/aasimonster/aasimonster.xml");
- if(parser.parse()) return 1;
-
- JackClient client(parser.getDrumkit());
-
- client.activate();
-
- // sendMidi();
-
- while(1) sleep(1);
-
- return 0;
-}
-
+#endif/*0*/