aboutsummaryrefslogtreecommitdiffstats
path: root/src/GainControl.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-17 10:57:08 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-17 10:57:08 +0100
commitc31496c68f2bbbab71c15635a2053f52e7a0ecf8 (patch)
tree4067427b706aa72fc0b4a779647852889f0b5b59 /src/GainControl.cpp
parent0a88998e2e183ac62aa3858a17a28ce0303a9780 (diff)
downloaddabmod-c31496c68f2bbbab71c15635a2053f52e7a0ecf8.tar.gz
dabmod-c31496c68f2bbbab71c15635a2053f52e7a0ecf8.tar.bz2
dabmod-c31496c68f2bbbab71c15635a2053f52e7a0ecf8.zip
Add threaded ModCodec and use it for GainControl
Diffstat (limited to 'src/GainControl.cpp')
-rw-r--r--src/GainControl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GainControl.cpp b/src/GainControl.cpp
index 4a05be1..cf0247d 100644
--- a/src/GainControl.cpp
+++ b/src/GainControl.cpp
@@ -3,7 +3,7 @@
Her Majesty the Queen in Right of Canada (Communications Research
Center Canada)
- Copyright (C) 2014
+ Copyright (C) 2017
Matthias P. Braendli, matthias.braendli@mpb.li
http://opendigitalradio.org
@@ -48,7 +48,7 @@ GainControl::GainControl(size_t framesize,
GainMode mode,
float& digGain,
float normalise) :
- ModCodec(),
+ PipelinedModCodec(),
RemoteControllable("gain"),
#ifdef __SSE__
m_frameSize(framesize * sizeof(complexf) / sizeof(__m128)),
@@ -89,7 +89,7 @@ GainControl::~GainControl()
}
-int GainControl::process(Buffer* const dataIn, Buffer* dataOut)
+int GainControl::internal_process(Buffer* const dataIn, Buffer* dataOut)
{
PDEBUG("GainControl::process"
"(dataIn: %p, dataOut: %p)\n",