From f9e0a5c8eef355e14e276a7456ca020a11f24924 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Thu, 23 Mar 2017 21:27:24 +0100 Subject: Fix FIRFilter compilation on non-SSE systems --- src/FIRFilter.cpp | 8 -------- 1 file changed, 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 - /* 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(dataOut->getData()); size_t sizeIn = dataIn->getLength() / sizeof(float); - clock_gettime(CLOCK_THREAD_CPUTIME_ID, &time_start); - { std::lock_guard 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. -- cgit v1.2.3