summaryrefslogtreecommitdiff
path: root/gtk2_ardour/time_fx_dialog.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-02-22 10:28:49 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:25 -0500
commit03ecf6cecdacab1a674e71c39e337e845d645752 (patch)
treef99194bb5a127a597c636a087c8836cd13f32a0b /gtk2_ardour/time_fx_dialog.cc
parente98553edfabaf05a7adb7e828b6c2e7a4b38c305 (diff)
add comment about threading for time/pitch dialog
Diffstat (limited to 'gtk2_ardour/time_fx_dialog.cc')
-rw-r--r--gtk2_ardour/time_fx_dialog.cc5
1 files changed, 5 insertions, 0 deletions
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;
}