X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_dialog.cc;h=6b7f13dba6d5d3c5fe44a44a5003edf749e1e2a9;hb=923d07be31c9af6267b25826b74e7ee36c67a602;hp=2922edf1179313e4490850d55ab3c2a0e72309a9;hpb=15433457f2d81b50a576ffa3aca2bf311edd2370;p=ardour.git diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 2922edf117..6b7f13dba6 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -22,6 +22,7 @@ #include #include +#include #include "ardour/audioregion.h" #include "ardour/export_channel_configuration.h" @@ -401,17 +402,17 @@ ExportDialog::progress_timeout () case ExportStatus::Exporting: status_text = string_compose (_("Exporting '%3' (timespan %1 of %2)"), status->timespan, status->total_timespans, status->timespan_name); - progress = ((float) status->processed_frames_current_timespan) / status->total_frames_current_timespan; + progress = ((float) status->processed_samples_current_timespan) / status->total_samples_current_timespan; break; 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)"),