summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rhythm_ferret.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/rhythm_ferret.cc')
-rw-r--r--gtk2_ardour/rhythm_ferret.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/rhythm_ferret.cc b/gtk2_ardour/rhythm_ferret.cc
index 57e7632e21..7b1ba19782 100644
--- a/gtk2_ardour/rhythm_ferret.cc
+++ b/gtk2_ardour/rhythm_ferret.cc
@@ -225,7 +225,7 @@ RhythmFerret::run_analysis ()
break;
}
- (*i)->region()->set_transients (current_results);
+ (*i)->region()->set_onsets (current_results);
current_results.clear();
}
}
@@ -360,7 +360,7 @@ RhythmFerret::do_split_action ()
for (RegionSelection::iterator i = regions.begin(); i != regions.end(); ++i) {
AnalysisFeatureList features;
- features = (*i)->region()->transients();
+ (*i)->region()->transients(features);
merged_features.insert (merged_features.end(), features.begin(), features.end());
}
@@ -407,7 +407,7 @@ RhythmFerret::clear_transients ()
current_results.clear ();
for (RegionSelection::iterator i = regions_with_transients.begin(); i != regions_with_transients.end(); ++i) {
- (*i)->region()->set_transients (current_results);
+ (*i)->region()->set_onsets (current_results);
}
regions_with_transients.clear ();