summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-23 21:27:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-03-23 21:27:24 +0100
commitf9e0a5c8eef355e14e276a7456ca020a11f24924 (patch)
tree43a082253dafe79d80a2b0d36003b1a428cedfe0 /src
parentc2da220eab0c42809e372344f07c277eb149d212 (diff)
downloaddabmod-f9e0a5c8eef355e14e276a7456ca020a11f24924.tar.gz
dabmod-f9e0a5c8eef355e14e276a7456ca020a11f24924.tar.bz2
dabmod-f9e0a5c8eef355e14e276a7456ca020a11f24924.zip
Fix FIRFilter compilation on non-SSE systems
Diffstat (limited to 'src')
-rw-r--r--src/FIRFilter.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/FIRFilter.cpp b/src/FIRFilter.cpp
index 6331b73..0e85e0f 100644
--- a/src/FIRFilter.cpp
+++ b/src/FIRFilter.cpp
@@ -47,8 +47,6 @@
using namespace std;
-#include <sys/time.h>
-
/* This is the FIR Filter calculated with the doc/fir-filter/generate-filter.py script
* with settings
* gain = 1
@@ -194,8 +192,6 @@ int FIRFilter::internal_process(Buffer* const dataIn, Buffer* dataOut)
float* out = reinterpret_cast<float*>(dataOut->getData());
size_t sizeIn = dataIn->getLength() / sizeof(float);
- clock_gettime(CLOCK_THREAD_CPUTIME_ID, &time_start);
-
{
std::lock_guard<std::mutex> lock(m_taps_mutex);
// Convolve by aligning both frame and taps at zero.
@@ -223,10 +219,6 @@ int FIRFilter::internal_process(Buffer* const dataIn, Buffer* dataOut)
}
}
}
-
- clock_gettime(CLOCK_THREAD_CPUTIME_ID, &time_end);
-
-
#endif
// The following implementations are for debugging only.