summaryrefslogtreecommitdiff
path: root/src/midiplayer.cc
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.cc
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.cc')
-rw-r--r--src/midiplayer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/midiplayer.cc b/src/midiplayer.cc
index d936eae..f8c462b 100644
--- a/src/midiplayer.cc
+++ b/src/midiplayer.cc
@@ -33,7 +33,7 @@ int _process(jack_nframes_t nframes, void *arg)
return ((MidiPlayer*)arg)->process(nframes);
}
-MidiPlayer::MidiPlayer(char *filename)
+MidiPlayer::MidiPlayer(std::string filename)
{
jack_status_t status;