From 30b087ab3d28f1585987fa3f6ae006562ae192e3 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Sep 2017 12:39:17 -0400 Subject: globally change all use of "frame" to refer to audio into "sample". Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible --- gtk2_ardour/analysis_window.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/analysis_window.cc') diff --git a/gtk2_ardour/analysis_window.cc b/gtk2_ardour/analysis_window.cc index e078a7ee2b..91e6d13362 100644 --- a/gtk2_ardour/analysis_window.cc +++ b/gtk2_ardour/analysis_window.cc @@ -260,7 +260,7 @@ AnalysisWindow::analyze_data (Gtk::Button * /*button*/) int n; for (int channel = 0; channel < n_inputs; channel++) { - framecnt_t x = 0; + samplecnt_t x = 0; while (x < j->length()) { // TODO: What about stereo+ channels? composite all to one, I guess @@ -313,8 +313,8 @@ AnalysisWindow::analyze_data (Gtk::Button * /*button*/) int n; for (unsigned int channel = 0; channel < arv->region()->n_channels(); channel++) { - framecnt_t x = 0; - framecnt_t length = arv->region()->length(); + samplecnt_t x = 0; + samplecnt_t length = arv->region()->length(); while (x < length) { // TODO: What about stereo+ channels? composite all to one, I guess -- cgit v1.2.3