RouteDialog: Move built-in types into template list experiment
[ardour.git] / gtk2_ardour / time_fx_dialog.cc
index 829ffd6504f372129383e80be2a96431b818a046..eb7750f4f81b492385b6100b23d22babec2a40ed 100644 (file)
 #include <iostream>
 #include <cstdlib>
 #include <cmath>
-
 #include <string>
 
+#include <gtkmm/stock.h>
+
 #include "pbd/error.h"
 #include "pbd/pthread_utils.h"
 #include "pbd/memento_command.h"
 #include "pbd/unwind.h"
 #include "pbd/stacktrace.h"
 
-#include <gtkmm2ext/utils.h>
+#include "gtkmm2ext/utils.h"
 
 #include "audio_clock.h"
 #include "editor.h"
@@ -45,7 +46,7 @@
 using namespace RubberBand;
 #endif
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -224,6 +225,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;
 }