From 031286f1a1c23ffb7dd8eca1708115a0367bd22d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 22 Feb 2016 10:16:04 -0500 Subject: [PATCH] add a clarifying comment about threading/GUI for normalization --- gtk2_ardour/normalize_dialog.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/normalize_dialog.cc b/gtk2_ardour/normalize_dialog.cc index 9872bcbc35..308328538c 100644 --- a/gtk2_ardour/normalize_dialog.cc +++ b/gtk2_ardour/normalize_dialog.cc @@ -95,6 +95,10 @@ NormalizeDialog::target () const void NormalizeDialog::update_progress_gui (float p) { + /* Normalization is run inside the GUI thread, so we can directly + * update the progress bar when notified about progress. + */ + _progress_bar->set_fraction (p); }