Remove all use of nframes_t.
[ardour.git] / gtk2_ardour / analysis_window.cc
index 6d858732ff91e4574d0bac284a5ee7683f466dbc..afa277e8e44919e8bf96b5686f5af5dcba3aa7b6 100644 (file)
@@ -278,9 +278,9 @@ AnalysisWindow::analyze_data (Gtk::Button */*button*/)
 
                                        int n;
                                        for (int channel = 0; channel < n_inputs; channel++) {
-                                               nframes_t x = 0;
+                                               framecnt_t x = 0;
 
-                                               while ( x < (*j).length() ) {
+                                               while (x < j->length()) {
                                                        // TODO: What about stereo+ channels? composite all to one, I guess
 
                                                        n = fft_graph.windowSize();
@@ -322,11 +322,11 @@ AnalysisWindow::analyze_data (Gtk::Button */*button*/)
                                        int n;
                                        for (int channel = 0; channel < n_inputs; channel++) {
 
-                                               nframes_t x = 0;
+                                               framecnt_t x = 0;
 
-                                               nframes_t length = arv->region()->length();
+                                               framecnt_t length = arv->region()->length();
 
-                                               while ( x < length ) {
+                                               while (x < length) {
                                                        // TODO: What about stereo+ channels? composite all to one, I guess
 
                                                        n = fft_graph.windowSize();