fix last commit
[ardour.git] / libs / ardour / sse_functions_xmm.cc
index 9b37c37912c08ad0965e4e3bf3d2694f48abdcf1..c1f11c4c8381f620c6baff13d81fec49b85974ce 100644 (file)
@@ -1,6 +1,6 @@
 /*
     Copyright (C) 2007 Paul sDavis
-       Written by Sampo Savolainen
+    Written by Sampo Savolainen
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 */
 
 #include <xmmintrin.h>
-#include <ardour/types.h>
+#include "ardour/types.h"
 
 void
-x86_sse_find_peaks(const ARDOUR::Sample* buf, nframes_t nframes, float *min, float *max)
+x86_sse_find_peaks(const ARDOUR::Sample* buf, ARDOUR::nframes_t nframes, float *min, float *max)
 {
        __m128 current_max, current_min, work;
 
@@ -38,7 +38,7 @@ x86_sse_find_peaks(const ARDOUR::Sample* buf, nframes_t nframes, float *min, flo
 
                current_min = _mm_min_ps(current_min, work);
                current_max = _mm_max_ps(current_max, work);
-               
+
                buf++;
                nframes--;
        }
@@ -77,7 +77,7 @@ x86_sse_find_peaks(const ARDOUR::Sample* buf, nframes_t nframes, float *min, flo
                buf+=4;
                nframes-=4;
        }
-       
+
        // work through the rest < 4 samples
        while ( nframes > 0) {
 
@@ -86,7 +86,7 @@ x86_sse_find_peaks(const ARDOUR::Sample* buf, nframes_t nframes, float *min, flo
 
                current_min = _mm_min_ps(current_min, work);
                current_max = _mm_max_ps(current_max, work);
-               
+
                buf++;
                nframes--;
        }