From 5014b20c5f7e2f784a6fe1c1d2cfa7d035128b42 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 29 Apr 2021 17:50:46 +0200 Subject: [PATCH] Inform user if there have been dropouts during export --- gtk2_ardour/export_dialog.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/export_dialog.cc b/gtk2_ardour/export_dialog.cc index 58ece58a92..7c422a3327 100644 --- a/gtk2_ardour/export_dialog.cc +++ b/gtk2_ardour/export_dialog.cc @@ -432,6 +432,12 @@ ExportDialog::show_progress () } } + if (!status->aborted() && _session->export_xruns () > 0) { + std::string txt = string_compose (_("There have been %1 dropouts during realtime-export."), _session->export_xruns ()); + Gtk::MessageDialog msg (txt, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_OK, true); + msg.run(); + } + if (!status->aborted() && status->result_map.size() > 0) { hide(); ExportReport er (_session, status);