summaryrefslogtreecommitdiffstats
path: root/src/GainControl.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-10-24 17:10:52 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-10-24 22:22:07 +0200
commitdd429ea2a7d98ba3a6b5806734db347a1bed1924 (patch)
tree1e3f7aa57f1faef63247d5fc3361b9fe860fda61 /src/GainControl.cpp
parentfc199a7284c5f3a5a84631583ea704748d50b28e (diff)
downloaddabmod-dd429ea2a7d98ba3a6b5806734db347a1bed1924.tar.gz
dabmod-dd429ea2a7d98ba3a6b5806734db347a1bed1924.tar.bz2
dabmod-dd429ea2a7d98ba3a6b5806734db347a1bed1924.zip
Make KISS entirely optional
The Resampler block can also use fftw, and the Makefile only does the kiss fft compilation when --enable-fftw is not given.
Diffstat (limited to 'src/GainControl.cpp')
-rw-r--r--src/GainControl.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/GainControl.cpp b/src/GainControl.cpp
index a34dcf2..03d8aa6 100644
--- a/src/GainControl.cpp
+++ b/src/GainControl.cpp
@@ -27,12 +27,20 @@
#include "GainControl.h"
#include "PcDebug.h"
-#include "kiss_fftsimd.h"
#include <stdio.h>
#include <stdexcept>
#include <string>
+#ifdef __SSE__
+# include <xmmintrin.h>
+union __u128 {
+ __m128 m;
+ float f[4];
+};
+#endif
+
+
using namespace std;