summaryrefslogtreecommitdiff
path: root/drumgizmo/output
diff options
context:
space:
mode:
Diffstat (limited to 'drumgizmo/output')
-rw-r--r--drumgizmo/output/alsa.cc2
-rw-r--r--drumgizmo/output/alsa.h2
-rw-r--r--drumgizmo/output/jackaudio.cc2
-rw-r--r--drumgizmo/output/jackaudio.h2
-rw-r--r--drumgizmo/output/outputdummy.cc2
-rw-r--r--drumgizmo/output/outputdummy.h2
-rw-r--r--drumgizmo/output/wavfile.cc2
-rw-r--r--drumgizmo/output/wavfile.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/drumgizmo/output/alsa.cc b/drumgizmo/output/alsa.cc
index 20a5366..3686656 100644
--- a/drumgizmo/output/alsa.cc
+++ b/drumgizmo/output/alsa.cc
@@ -120,7 +120,7 @@ bool AlsaOutputEngine::init(Channels channels)
return true;
}
-void AlsaOutputEngine::setParm(std::string parm, std::string value)
+void AlsaOutputEngine::setParm(const std::string& parm, const std::string& value)
{
if(parm == "dev")
{
diff --git a/drumgizmo/output/alsa.h b/drumgizmo/output/alsa.h
index f3fb457..4973f0b 100644
--- a/drumgizmo/output/alsa.h
+++ b/drumgizmo/output/alsa.h
@@ -43,7 +43,7 @@ public:
// based on AudioOutputEngine
bool init(Channels chan) 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(size_t nsamples) override;
diff --git a/drumgizmo/output/jackaudio.cc b/drumgizmo/output/jackaudio.cc
index 90ac63b..9f68edd 100644
--- a/drumgizmo/output/jackaudio.cc
+++ b/drumgizmo/output/jackaudio.cc
@@ -67,7 +67,7 @@ bool JackAudioOutputEngine::init(Channels data)
return true;
}
-void JackAudioOutputEngine::setParm(std::string parm, std::string value)
+void JackAudioOutputEngine::setParm(const std::string& parm, const std::string& value)
{
}
diff --git a/drumgizmo/output/jackaudio.h b/drumgizmo/output/jackaudio.h
index e22d978..24348f6 100644
--- a/drumgizmo/output/jackaudio.h
+++ b/drumgizmo/output/jackaudio.h
@@ -41,7 +41,7 @@ public:
// based on AudioOutputEngine
bool init(Channels chan) 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(size_t nsamples) override;
diff --git a/drumgizmo/output/outputdummy.cc b/drumgizmo/output/outputdummy.cc
index 2edcc28..5899ead 100644
--- a/drumgizmo/output/outputdummy.cc
+++ b/drumgizmo/output/outputdummy.cc
@@ -39,7 +39,7 @@ bool DummyOutputEngine::init(Channels data)
return true;
}
-void DummyOutputEngine::setParm(std::string parm, std::string value)
+void DummyOutputEngine::setParm(const std::string& parm, const std::string& value)
{
}
diff --git a/drumgizmo/output/outputdummy.h b/drumgizmo/output/outputdummy.h
index 023ba42..caa9e5f 100644
--- a/drumgizmo/output/outputdummy.h
+++ b/drumgizmo/output/outputdummy.h
@@ -36,7 +36,7 @@ public:
// based on AudioOutputEngine
bool init(Channels chan) 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(size_t nsamples) override;
diff --git a/drumgizmo/output/wavfile.cc b/drumgizmo/output/wavfile.cc
index b19f700..e81fb2d 100644
--- a/drumgizmo/output/wavfile.cc
+++ b/drumgizmo/output/wavfile.cc
@@ -69,7 +69,7 @@ bool WavfileOutputEngine::init(Channels data)
return true;
}
-void WavfileOutputEngine::setParm(std::string parm, std::string value)
+void WavfileOutputEngine::setParm(const std::string& parm, const std::string& value)
{
if(parm == "file")
{
diff --git a/drumgizmo/output/wavfile.h b/drumgizmo/output/wavfile.h
index 1dddfa1..331733b 100644
--- a/drumgizmo/output/wavfile.h
+++ b/drumgizmo/output/wavfile.h
@@ -41,7 +41,7 @@ public:
// based on AudioOutputEngine
bool init(Channels data) 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(size_t nsamples) override;