summaryrefslogtreecommitdiff
path: root/libs/ardour/sse_functions_avx.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-05-12 21:18:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:13 -0400
commitb938129589e06814f4e217bc03bba7d7ebb49a6b (patch)
treebf21efafb0a740c69eb9f05810d1bea14e381dba /libs/ardour/sse_functions_avx.cc
parent92df1594f93a1235c850521a7e3087246df06550 (diff)
Made optimized function Prototypes more correct.
They shouldn't be dependant on ARDOUR types as long as they will work correctly with float samples only and with 32 unsigned int as sample counter.
Diffstat (limited to 'libs/ardour/sse_functions_avx.cc')
-rw-r--r--libs/ardour/sse_functions_avx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/sse_functions_avx.cc b/libs/ardour/sse_functions_avx.cc
index 0b314948c5..89cb91f2ea 100644
--- a/libs/ardour/sse_functions_avx.cc
+++ b/libs/ardour/sse_functions_avx.cc
@@ -20,11 +20,11 @@
#include <xmmintrin.h>
#include <immintrin.h>
-#include "ardour/types.h"
+#include <stdint.h>
void
-x86_sse_avx_find_peaks(const ARDOUR::Sample* buf, ARDOUR::pframes_t nframes, float *min, float *max)
+x86_sse_avx_find_peaks(const float* buf, uint32_t nframes, float *min, float *max)
{
__m256 current_max, current_min, work;