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/fft_graph.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/fft_graph.cc')
-rw-r--r-- | gtk2_ardour/fft_graph.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/fft_graph.cc b/gtk2_ardour/fft_graph.cc index ec54acbaaa..27d5b06f3e 100644 --- a/gtk2_ardour/fft_graph.cc +++ b/gtk2_ardour/fft_graph.cc @@ -651,7 +651,7 @@ FFTGraph::on_size_allocate (Gtk::Allocation & alloc) void FFTGraph::update_size () { - framecnt_t SR = PublicEditor::instance ().session ()->nominal_frame_rate (); + samplecnt_t SR = PublicEditor::instance ().session ()->nominal_sample_rate (); _fft_start = SR / (double)_dataSize; _fft_end = .5 * SR; _fft_log_base = logf (.5 * _dataSize); |