Merged with trunk R992.
[ardour.git] / libs / ardour / ardour / peak.h
index d08357024bd9f4dd9232f58b5e9886b672dce823..2c8abe7cf44c0479388502faf56f51856291f3eb 100644 (file)
@@ -6,9 +6,9 @@
 #include <ardour/utils.h>
 
 static inline float
-compute_peak (ARDOUR::Sample *buf, jack_nframes_t nsamples, float current) 
+compute_peak (ARDOUR::Sample *buf, nframes_t nsamples, float current) 
 {
-       for (jack_nframes_t i = 0; i < nsamples; ++i) {
+       for (nframes_t i = 0; i < nsamples; ++i) {
                current = f_max (current, fabsf (buf[i]));
        }
        return current;