summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/analysis_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/ardour/analysis_graph.h')
-rw-r--r--libs/ardour/ardour/analysis_graph.h10
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;