fixes for destructive track offsets of various kinds; move from jack_nframes_t -...
[ardour.git] / libs / ardour / utils.cc
index 83b0c3101efea1fdd86d49cd32c4ef0fa8711f3c..574e7a6587e44d8448817b49adac8fb44f9da1a0 100644 (file)
@@ -273,7 +273,7 @@ CFStringRefToStdString(CFStringRef stringRef)
 #endif // HAVE_COREAUDIO
 
 void
-compute_equal_power_fades (jack_nframes_t nframes, float* in, float* out)
+compute_equal_power_fades (nframes_t nframes, float* in, float* out)
 {
        double step;
 
@@ -281,7 +281,7 @@ compute_equal_power_fades (jack_nframes_t nframes, float* in, float* out)
 
        in[0] = 0.0f;
        
-       for (jack_nframes_t i = 1; i < nframes - 1; ++i) {
+       for (nframes_t i = 1; i < nframes - 1; ++i) {
                in[i] = in[i-1] + step;
        }