diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/audioinputengine.h | 4 | ||||
-rw-r--r-- | src/audioinputenginemidi.h | 2 |
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; |