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 /libs/ardour/ardour/analysis_graph.h | |
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 'libs/ardour/ardour/analysis_graph.h')
-rw-r--r-- | libs/ardour/ardour/analysis_graph.h | 10 |
1 files changed, 5 insertions, 5 deletions
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<void, framecnt_t, framecnt_t> Progress; + void set_total_samples (samplecnt_t p) { _samples_end = p; } + PBD::Signal2<void, samplecnt_t, samplecnt_t> 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<AudioGrapher::Analyser> AnalysisPtr; |