summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index 936c231..649b364 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -26,6 +26,8 @@
*/
#include "jackclient.h"
+#include "drumkitparser.h"
+
#include <jack/jack.h>
#include <jack/midiport.h>
@@ -79,7 +81,10 @@ void sendMidi()
int main(int argc, char *argv[])
{
- JackClient client;
+ DrumKitParser parser("/tmp/aasimonster/aasimonster.xml");
+ if(parser.parse()) return 1;
+
+ JackClient client(parser.getDrumkit());
client.activate();