From b938129589e06814f4e217bc03bba7d7ebb49a6b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 May 2015 21:18:53 -0400 Subject: 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. --- libs/ardour/sse_functions_avx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/ardour/sse_functions_avx.cc') 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 #include -#include "ardour/types.h" +#include 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; -- cgit v1.2.3