summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Glöckner <cgloeckner@freenet.de>2016-03-29 09:16:04 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-31 17:35:47 +0200
commit87ac5dcd0a2faa899aea238d3d24fc84407d1a62 (patch)
tree7171bc1a6e152ea1e0b8e7c38958065e1f0bb7fb /src
parent454cbddd4107c283b14f3e3c40fcb5e4d4644b6c (diff)
using const ref strings at input engine
Diffstat (limited to 'src')
-rw-r--r--src/audioinputengine.h4
-rw-r--r--src/audioinputenginemidi.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audioinputengine.h b/src/audioinputengine.h
index b218086..d7ac9c9 100644
--- a/src/audioinputengine.h
+++ b/src/audioinputengine.h
@@ -40,9 +40,9 @@ public:
virtual bool isMidiEngine() { return false; }
- virtual bool init(Instruments &instruments) = 0;
+ virtual bool init(Instruments& instruments) = 0;
- virtual void setParm(std::string parm, std::string value) = 0;
+ virtual void setParm(const std::string& parm, const std::string& value) = 0;
virtual bool start() = 0;
virtual void stop() = 0;
diff --git a/src/audioinputenginemidi.h b/src/audioinputenginemidi.h
index 3f96afe..36fcbaa 100644
--- a/src/audioinputenginemidi.h
+++ b/src/audioinputenginemidi.h
@@ -45,7 +45,7 @@ public:
virtual bool init(Instruments &instruments) = 0;
- virtual void setParm(std::string parm, std::string value) = 0;
+ virtual void setParm(const std::string& parm, const std::string& value) = 0;
virtual bool start() = 0;
virtual void stop() = 0;