A few type fixes.
[ardour.git] / libs / ardour / onset_detector.cc
index 85917041b6c15c00f687ee2a52c7658323cbfd0d..abe7df70220f170394ceae5df377feafc4783c92 100644 (file)
@@ -12,6 +12,7 @@ string OnsetDetector::_op_id = X_("libardourvampplugins:aubioonset:2");
 
 OnsetDetector::OnsetDetector (float sr)
        : AudioAnalyser (sr, X_("libardourvampplugins:aubioonset"))
+       , current_results (0)
 {
        /* update the op_id */
 
@@ -99,7 +100,7 @@ OnsetDetector::cleanup_onsets (AnalysisFeatureList& t, float sr, float gap_msecs
 
        AnalysisFeatureList::iterator i = t.begin();
        AnalysisFeatureList::iterator f, b;
-       const nframes64_t gap_frames = (nframes64_t) floor (gap_msecs * (sr / 1000.0));
+       const framecnt_t gap_frames = (framecnt_t) floor (gap_msecs * (sr / 1000.0));
 
        while (i != t.end()) {