diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 12:39:17 -0400 |
commit | 30b087ab3d28f1585987fa3f6ae006562ae192e3 (patch) | |
tree | 620ae0250b5d77f90a18f8c2b83be61e4fe7b0b5 /gtk2_ardour/analysis_window.cc | |
parent | cb956e3e480716a3efd280a5287bdd7bee1cedc5 (diff) |
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
Diffstat (limited to 'gtk2_ardour/analysis_window.cc')
-rw-r--r-- | gtk2_ardour/analysis_window.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 |