From 03ecf6cecdacab1a674e71c39e337e845d645752 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 22 Feb 2016 10:28:49 -0500 Subject: add comment about threading for time/pitch dialog --- gtk2_ardour/time_fx_dialog.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk2_ardour/time_fx_dialog.cc b/gtk2_ardour/time_fx_dialog.cc index 829ffd6504..caf1191835 100644 --- a/gtk2_ardour/time_fx_dialog.cc +++ b/gtk2_ardour/time_fx_dialog.cc @@ -224,6 +224,11 @@ TimeFXDialog::start_updates () void TimeFXDialog::update_progress_gui (float p) { + /* time/pitch FX are applied in a dedicated thread, so we cannot just + update the GUI when notified about progress. That is deferred to a + timer-driven callback which will ensure that the visual progress + indicator is updated. + */ progress = p; } -- cgit v1.2.3