diff options
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); |