summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drumgizmo/input/test.cc4
-rw-r--r--drumgizmo/input/test.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/drumgizmo/input/test.cc b/drumgizmo/input/test.cc
index a611256..1315c46 100644
--- a/drumgizmo/input/test.cc
+++ b/drumgizmo/input/test.cc
@@ -42,12 +42,12 @@ TestInputEngine::~TestInputEngine()
{
}
-bool TestInputEngine::init(Instruments& instruments)
+bool TestInputEngine::init(const Instruments& instruments)
{
return true;
}
-void TestInputEngine::setParm(std::string parm, std::string value)
+void TestInputEngine::setParm(const std::string& parm, const std::string& value)
{
/*
if(parm == "probability")
diff --git a/drumgizmo/input/test.h b/drumgizmo/input/test.h
index 2f5e482..7e88cb5 100644
--- a/drumgizmo/input/test.h
+++ b/drumgizmo/input/test.h
@@ -38,8 +38,8 @@ public:
~TestInputEngine();
// based on AudioInputEngine
- bool init(Instruments& instruments) override;
- void setParm(std::string parm, std::string value) override;
+ bool init(const Instruments& instruments) override;
+ void setParm(const std::string& parm, const std::string& value) override;
bool start() override;
void stop() override;
void pre() override;