}
void
-ExportRangeMarkersDialog::export_audio_data ()
+ExportRangeMarkersDialog::export_data ()
{
getSession().locations()->apply(*this, &ExportRangeMarkersDialog::process_range_markers_export);
}
spec.start_frame = currentLocation->start();
spec.end_frame = currentLocation->end();
- getSession().request_locate(spec.start_frame, false);
-
- if (getSession().start_audio_export(spec)){
+ if (getSession().start_export(spec)){
// if export fails
return;
}
}
current_range_marker_index++;
+
+ getSession().stop_export (spec);
}
}