diff options
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 03094d0a52..d40299a0a3 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -20,6 +20,7 @@ #include <iostream> #include <cstdlib> #include <cmath> +#include <ctime> #include <string> @@ -365,6 +366,14 @@ Editor::timefx_thread (void *arg) tsd->editor.do_timefx (*tsd); + /* GACK! HACK! sleep for a bit so that our request buffer for the GUI + event loop doesn't die before any changes we made are processed + by the GUI ... + */ + + struct timespec t = { 2, 0 }; + nanosleep (&t, 0); + return 0; } |