void ATrack::set_default_title()
{
- Track *current = ListItem<Track>::owner->first;
+ Track *current = ListItem<Track>::list->first;
int i;
for(i = 0; current; current = NEXT)
{
return 0;
}
+void ATrack::deglitch(double position,
+ int edit_labels, int edit_plugins, int edit_autos)
+{
+ int64_t samples = to_units(position, 0);
+ edits->deglitch(samples);
+ if( edit_plugins ) {
+ for(int i = 0; i < plugin_set.size(); i++) {
+ plugin_set.get(i)->deglitch(samples);
+ }
+ }
+}
+