mechanism to allow Track (or other Route-derived type) to add its own processors...
[ardour.git] / gtk2_ardour / export_dialog.cc
index 2922edf1179313e4490850d55ab3c2a0e72309a9..9ba65a6646339637efd2a9745719674e58e48791 100644 (file)
@@ -22,6 +22,7 @@
 #include <sigc++/signal.h>
 
 #include <gtkmm/messagedialog.h>
+#include <gtkmm/stock.h>
 
 #include "ardour/audioregion.h"
 #include "ardour/export_channel_configuration.h"
@@ -406,12 +407,12 @@ ExportDialog::progress_timeout ()
        case ExportStatus::Normalizing:
                status_text = string_compose (_("Normalizing '%3' (timespan %1 of %2)"),
                                              status->timespan, status->total_timespans, status->timespan_name);
-               progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles;
+               progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles;
                break;
        case ExportStatus::Encoding:
                status_text = string_compose (_("Encoding '%3' (timespan %1 of %2)"),
                                              status->timespan, status->total_timespans, status->timespan_name);
-               progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles;
+               progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles;
                break;
        case ExportStatus::Tagging:
                status_text = string_compose (_("Tagging '%3' (timespan %1 of %2)"),