summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_range_markers_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-03-16 21:44:10 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-03-16 21:44:10 +0000
commit2aba860ba1603cb84efc5d0212bf97493aa0bf46 (patch)
treed7b1ff50796820902a960652001519265caf2e5d /gtk2_ardour/export_range_markers_dialog.cc
parent3e369073533988b8536216389d52cc947535e51c (diff)
fix errors in multi-range export (and possibly other export styles); compiler warnings patch from Carl
git-svn-id: svn://localhost/ardour2/trunk@1605 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_range_markers_dialog.cc')
-rw-r--r--gtk2_ardour/export_range_markers_dialog.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/gtk2_ardour/export_range_markers_dialog.cc b/gtk2_ardour/export_range_markers_dialog.cc
index b6bd25a60d..1184294a67 100644
--- a/gtk2_ardour/export_range_markers_dialog.cc
+++ b/gtk2_ardour/export_range_markers_dialog.cc
@@ -65,7 +65,7 @@ ExportRangeMarkersDialog::process_range_markers_export(Locations::LocationList&
Locations::LocationList::iterator locationIter;
current_range_marker_index = 0;
init_progress_computing(locations);
-
+
for (locationIter = locations.begin(); locationIter != locations.end(); ++locationIter) {
Location *currentLocation = (*locationIter);
@@ -90,7 +90,8 @@ ExportRangeMarkersDialog::process_range_markers_export(Locations::LocationList&
// wait until export of this range finished
gtk_main_iteration();
- while(spec.running){
+
+ while (spec.running){
if(gtk_events_pending()){
gtk_main_iteration();
}else {
@@ -197,12 +198,6 @@ ExportRangeMarkersDialog::progress_timeout ()
{
double progress = 0.0;
- cerr << "Progress timeout, total = " << total_duration << " index = " << current_range_marker_index
- << " current = " << range_markers_durations[current_range_marker_index]
- << " agg = " << range_markers_durations_aggregated[current_range_marker_index]
- << " prog = " << spec.progress
- << endl;
-
if (current_range_marker_index >= range_markers_durations.size()){
progress = 1.0;
} else{