diff options
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/input/inputdummy.cc | 2 | ||||
-rw-r--r-- | drumgizmo/input/inputdummy.h | 2 | ||||
-rw-r--r-- | drumgizmo/input/jackmidi.cc | 2 | ||||
-rw-r--r-- | drumgizmo/input/jackmidi.h | 2 | ||||
-rw-r--r-- | drumgizmo/input/midifile.cc | 2 | ||||
-rw-r--r-- | drumgizmo/input/midifile.h | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/drumgizmo/input/inputdummy.cc b/drumgizmo/input/inputdummy.cc index 74464ef..7d7b272 100644 --- a/drumgizmo/input/inputdummy.cc +++ b/drumgizmo/input/inputdummy.cc @@ -39,7 +39,7 @@ bool DummyInputEngine::init(Instruments& instruments) return true; } -void DummyInputEngine::setParm(std::string parm, std::string value) +void DummyInputEngine::setParm(const std::string& parm, const std::string& value) { } diff --git a/drumgizmo/input/inputdummy.h b/drumgizmo/input/inputdummy.h index 79f325a..f2353e5 100644 --- a/drumgizmo/input/inputdummy.h +++ b/drumgizmo/input/inputdummy.h @@ -36,7 +36,7 @@ public: // based on AudioInputEngine bool init(Instruments& instruments) override; - void setParm(std::string parm, std::string value) override; + void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; void pre() override; diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc index ff2f030..befb763 100644 --- a/drumgizmo/input/jackmidi.cc +++ b/drumgizmo/input/jackmidi.cc @@ -62,7 +62,7 @@ bool JackMidiInputEngine::init(Instruments& instruments) return true; } -void JackMidiInputEngine::setParm(std::string parm, std::string value) +void JackMidiInputEngine::setParm(const std::string& parm, const std::string& value) { if(parm == "midimap") { diff --git a/drumgizmo/input/jackmidi.h b/drumgizmo/input/jackmidi.h index fbf6ef1..5e9e48f 100644 --- a/drumgizmo/input/jackmidi.h +++ b/drumgizmo/input/jackmidi.h @@ -44,7 +44,7 @@ public: // based on AudioInputEngineMidi bool init(Instruments& instruments) override; - void setParm(std::string parm, std::string value) override; + void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; void pre() override; diff --git a/drumgizmo/input/midifile.cc b/drumgizmo/input/midifile.cc index 5fc1a42..2149029 100644 --- a/drumgizmo/input/midifile.cc +++ b/drumgizmo/input/midifile.cc @@ -80,7 +80,7 @@ bool MidifileInputEngine::init(Instruments& instruments) return true; } -void MidifileInputEngine::setParm(std::string parm, std::string value) +void MidifileInputEngine::setParm(const std::string& parm, const std::string& value) { if(parm == "file") { diff --git a/drumgizmo/input/midifile.h b/drumgizmo/input/midifile.h index a5c79e4..ff2e3b6 100644 --- a/drumgizmo/input/midifile.h +++ b/drumgizmo/input/midifile.h @@ -43,7 +43,7 @@ public: // based on AudioInputEngineMidi bool init(Instruments& instruments) override; - void setParm(std::string parm, std::string value) override; + void setParm(const std::string& parm, const std::string& value) override; bool start() override; void stop() override; void pre() override; |