Remove all use of nframes_t.
[ardour.git] / libs / ardour / ardour / runtime_functions.h
index c1dab4ebc7b8759634fe0856dfb987783f70093b..8882d721d74301ff9e47ae4b2f791557cf3121ab 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2007 Paul Davis 
+    Copyright (C) 2007 Paul Davis
 
     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
 #ifndef __ardour_runtime_functions_h__
 #define __ardour_runtime_functions_h__
 
-#include <ardour/types.h>
+#include "ardour/types.h"
 
 namespace ARDOUR {
 
-       typedef float (*compute_peak_t)                 (const ARDOUR::Sample *, nframes_t, float);
-       typedef void  (*find_peaks_t)                   (const ARDOUR::Sample *, nframes_t, float *, float*);
-       typedef void  (*apply_gain_to_buffer_t)         (ARDOUR::Sample *, nframes_t, float);
-       typedef void  (*mix_buffers_with_gain_t)        (ARDOUR::Sample *, const ARDOUR::Sample *, nframes_t, float);
-       typedef void  (*mix_buffers_no_gain_t)          (ARDOUR::Sample *, const ARDOUR::Sample *, nframes_t);
+       typedef float (*compute_peak_t)                 (const ARDOUR::Sample *, pframes_t, float);
+       typedef void  (*find_peaks_t)                   (const ARDOUR::Sample *, pframes_t, float *, float*);
+       typedef void  (*apply_gain_to_buffer_t)         (ARDOUR::Sample *, pframes_t, float);
+       typedef void  (*mix_buffers_with_gain_t)        (ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t, float);
+       typedef void  (*mix_buffers_no_gain_t)          (ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t);
 
        extern compute_peak_t           compute_peak;
        extern find_peaks_t             find_peaks;