X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=session_utils%2Fexport.cc;h=6ea7e2b5fdb3f0b92dc6b27d257c3897126abad9;hb=b116a68a5cea41cc836946bd392197998b93f142;hp=13f78986aa3334e9dd7c719358979545ea5e9571;hpb=883a6a3d4e0481d1145e62c995ed937e69245a94;p=ardour.git diff --git a/session_utils/export.cc b/session_utils/export.cc index 13f78986aa..6ea7e2b5fd 100644 --- a/session_utils/export.cc +++ b/session_utils/export.cc @@ -124,7 +124,7 @@ static int export_session (Session *session, double progress = 0.0; switch (status->active_job) { case ExportStatus::Normalizing: - progress = ((float) status->current_normalize_cycle) / status->total_normalize_cycles; + progress = ((float) status->current_postprocessing_cycle) / status->total_postprocessing_cycles; printf ("* Normalizing %.1f%% \r", 100. * progress); fflush (stdout); break; case ExportStatus::Exporting: @@ -147,12 +147,12 @@ static int export_session (Session *session, static void usage (int status) { // help2man compatible format (standard GNU help-text) - printf ("export - export an ardour session from the commandline.\n\n"); - printf ("Usage: export [ OPTIONS ] \n\n"); + printf (UTILNAME " - export an ardour session from the commandline.\n\n"); + printf ("Usage: " UTILNAME " [ OPTIONS ] \n\n"); printf ("Options:\n\ -h, --help display this help and exit\n\ -n, --normalize normalize signal level (to 0dBFS)\n\ - -o, --output set expected [initial] framerate\n\ + -o, --output export output file name\n\ -s, --samplerate samplerate to use (default: 48000)\n\ -V, --version print version information and exit\n\ \n");