summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-14 13:24:12 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-14 13:24:12 +0100
commita1c36919884e76c67c19896c526b139d84b8478c (patch)
treeab59345868766e0a0eb36b6bdfb123a6329abec7 /src/OutputUHD.cpp
parent33fab4f1008c1af305e6426233a1a87bd683782d (diff)
downloaddabmod-a1c36919884e76c67c19896c526b139d84b8478c.tar.gz
dabmod-a1c36919884e76c67c19896c526b139d84b8478c.tar.bz2
dabmod-a1c36919884e76c67c19896c526b139d84b8478c.zip
Update RemoteControl from dabmux
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r--src/OutputUHD.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index 5e66fb3..b8d421f 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -543,7 +543,7 @@ loopend:
}
-void OutputUHD::set_parameter(string parameter, string value)
+void OutputUHD::set_parameter(const string& parameter, const string& value)
{
stringstream ss(value);
ss.exceptions ( stringstream::failbit | stringstream::badbit );
@@ -571,7 +571,7 @@ void OutputUHD::set_parameter(string parameter, string value)
}
}
-string OutputUHD::get_parameter(string parameter)
+const string OutputUHD::get_parameter(const string& parameter) const
{
stringstream ss;
if (parameter == "txgain") {