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 --- libs/ardour/ardour/analysis_graph.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libs/ardour/ardour/analysis_graph.h') diff --git a/libs/ardour/ardour/analysis_graph.h b/libs/ardour/ardour/analysis_graph.h index 4724b826c1..c9ea4f4863 100644 --- a/libs/ardour/ardour/analysis_graph.h +++ b/libs/ardour/ardour/analysis_graph.h @@ -48,19 +48,19 @@ class LIBARDOUR_API AnalysisGraph { void cancel () { _canceled = true; } bool canceled () const { return _canceled; } - void set_total_frames (framecnt_t p) { _frames_end = p; } - PBD::Signal2 Progress; + void set_total_samples (samplecnt_t p) { _samples_end = p; } + PBD::Signal2 Progress; private: ARDOUR::Session* _session; AnalysisResults _results; - framecnt_t _max_chunksize; + samplecnt_t _max_chunksize; ARDOUR::Sample* _buf; ARDOUR::Sample* _mixbuf; float* _gainbuf; - framecnt_t _frames_read; - framecnt_t _frames_end; + samplecnt_t _samples_read; + samplecnt_t _samples_end; bool _canceled; typedef boost::shared_ptr AnalysisPtr; -- cgit v1.2.3