part-way through getting the audioengine changes to compile
[ardour.git] / libs / ardour / export_status.cc
index dbb96432ee5fb68aac8eded0611d069d51d68c6a..0f7938bb7f2cb3d4a0ab31297cf96e862a882e86 100644 (file)
@@ -18,6 +18,8 @@
 
 */
 
+#include <pbd/stacktrace.h>
+
 #include "ardour/export_status.h"
 
 namespace ARDOUR
@@ -37,7 +39,6 @@ ExportStatus::init ()
        _finished = false;
        _errors = false;
 
-       progress = 0.0;
        normalizing = false;
 
        total_timespans = 0;
@@ -45,6 +46,12 @@ ExportStatus::init ()
 
        total_frames = 0;
        processed_frames = 0;
+
+       total_frames_current_timespan = 0;
+       processed_frames_current_timespan = 0;
+
+       total_normalize_cycles = 0;
+       current_normalize_cycle = 0;
 }
 
 void
@@ -54,7 +61,6 @@ ExportStatus::abort (bool error_occurred)
        _finished = true;
        _errors = _errors || error_occurred;
        running = false;
-       Aborting ();
 }
 
 void
@@ -62,7 +68,7 @@ ExportStatus::finish ()
 {
        _finished = true;
        running = false;
-       Finished();
+       Finished(); /* EMIT SIGNAL */
 }
 
 } // namespace ARDOUR