Add SSE2 enhancements to resampler

merge-requests/7/head
Phil Taylor 2021-11-07 14:24:25 +00:00
rodzic f04284db0e
commit 827614e080
2 zmienionych plików z 1 dodań i 9 usunięć

Wyświetl plik

@ -35,15 +35,6 @@ typedef signed short MY_TYPE;
#include <QTimer>
#include <QTime>
#include <QMap>
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86_FP)
#undef USE_NEON
#define USE_SSE 1
#define USE_SSE2 1
#else
#undef USE_SSE
#undef SUE_SSE2
#define USE_NEON 1
#endif
#include "resampler/speex_resampler.h"
#include "ring/ring.h"

Wyświetl plik

@ -34,6 +34,7 @@ DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
# These defines are used for the resampler
equals(QT_ARCH, i386): DEFINES += USE_SSE
equals(QT_ARCH, i386): DEFINES += USE_SSE2
equals(QT_ARCH, arm): DEFINES += USE_NEON
DEFINES += OUTSIDE_SPEEX
DEFINES += RANDOM_PREFIX=wf