summaryrefslogtreecommitdiff
path: root/libs/ardour/onset_detector.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/onset_detector.cc')
-rw-r--r--libs/ardour/onset_detector.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/onset_detector.cc b/libs/ardour/onset_detector.cc
index abe7df7022..4f2151a03d 100644
--- a/libs/ardour/onset_detector.cc
+++ b/libs/ardour/onset_detector.cc
@@ -56,7 +56,7 @@ OnsetDetector::use_features (Plugin::FeatureSet& features, ostream* out)
(*out) << (*f).timestamp.toString() << endl;
}
- current_results->push_back (RealTime::realTime2Frame ((*f).timestamp, (nframes_t) floor(sample_rate)));
+ current_results->push_back (RealTime::realTime2Frame ((*f).timestamp, (framecnt_t) floor(sample_rate)));
}
}