add a clarifying comment about threading/GUI for normalization
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 22 Feb 2016 15:16:04 +0000 (10:16 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 22 Feb 2016 20:31:25 +0000 (15:31 -0500)
gtk2_ardour/normalize_dialog.cc

index 9872bcbc35223fe8fd8526fdd89d5ef76f439b97..308328538cac2cf18ed654efe4258109c0f47bf4 100644 (file)
@@ -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);
 }