summaryrefslogtreecommitdiff
path: root/src/midiplayer.h
diff options
context:
space:
mode:
authordeva <deva>2008-12-21 19:24:29 +0000
committerdeva <deva>2008-12-21 19:24:29 +0000
commit5dcfbc8bd840dfd60573e038194a43b37ebfc047 (patch)
tree477b760b574a455441f6586123ff5adef6036c95 /src/midiplayer.h
parent90d1466d82e01fd7e5e2d2b49977e2dccaac9e33 (diff)
Added some cli options. Made preload optional on the commandline. Made chdir to drumkit file prior to loading of the samples.
Diffstat (limited to 'src/midiplayer.h')
-rw-r--r--src/midiplayer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/midiplayer.h b/src/midiplayer.h
index 5069ec6..3694939 100644
--- a/src/midiplayer.h
+++ b/src/midiplayer.h
@@ -29,10 +29,11 @@
#include <jack/jack.h>
#include <jack/midiport.h>
+#include <string>
class MidiPlayer {
public:
- MidiPlayer(char *filename);
+ MidiPlayer(std::string midifile);
~MidiPlayer();
int process(jack_nframes_t nframes);