summaryrefslogtreecommitdiff
path: root/src/audioinputenginemidi.h
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 09:53:07 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commit9a61e61db6d811c32a25beec8c34e790170662e0 (patch)
treed1b4ccadb7906848d555cd8e48eaec2231c79b76 /src/audioinputenginemidi.h
parente8b37a3c47580a9e2fa7850b6defd2b5b97530d4 (diff)
made input engine more const-correct
Diffstat (limited to 'src/audioinputenginemidi.h')
-rw-r--r--src/audioinputenginemidi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioinputenginemidi.h b/src/audioinputenginemidi.h
index 36fcbaa..82121b7 100644
--- a/src/audioinputenginemidi.h
+++ b/src/audioinputenginemidi.h
@@ -43,7 +43,7 @@ public:
bool isMidiEngine() { return true; }
- virtual bool init(Instruments &instruments) = 0;
+ virtual bool init(const Instruments &instruments) = 0;
virtual void setParm(const std::string& parm, const std::string& value) = 0;
@@ -54,7 +54,7 @@ public:
virtual void run(size_t pos, size_t len, std::vector<event_t>& events) = 0;
virtual void post() = 0;
- bool loadMidiMap(std::string file, Instruments &i);
+ bool loadMidiMap(const std::string& file, const Instruments& i);
std::string midimapFile();