part two of: make region gain line visibility global, not per-region
[ardour.git] / libs / ardour / ardour / export_status.h
index 1613fffe525377db80f341ec0c27257ae92b3445..56b15eada19ebdf59af49e60433220a68f4ffdec 100644 (file)
 #define __ardour_export_status_h__
 
 #include <list>
-#include "pbd/signals.h"
-
 #include <stdint.h>
 
+#include "ardour/types.h"
+
+#include "pbd/signals.h"
+
 namespace ARDOUR
 {
 
-enum ExportStage {
-       export_None,
-       export_ReadTimespan,
-       export_PostProcess,
-       export_Write
-};
-
 struct ExportStatus {
 
        ExportStatus ();
@@ -57,17 +52,20 @@ struct ExportStatus {
 
        /* Progress info */
 
-       volatile ExportStage    stage;
-       volatile float          progress;
+       volatile bool           normalizing;
 
        volatile uint32_t       total_timespans;
        volatile uint32_t       timespan;
+       std::string             timespan_name;
+
+       volatile framecnt_t     total_frames;
+       volatile framecnt_t     processed_frames;
 
-       volatile uint32_t       total_channel_configs;
-       volatile uint32_t       channel_config;
+       volatile framecnt_t     total_frames_current_timespan;
+       volatile framecnt_t     processed_frames_current_timespan;
 
-       volatile uint32_t       total_formats;
-       volatile uint32_t       format;
+       volatile uint32_t       total_normalize_cycles;
+       volatile uint32_t       current_normalize_cycle;
 
   private:
        volatile bool          _aborted;