summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-11 22:06:20 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-11 22:06:20 -0400
commit32320ec31dbc75d7566806308ebe2e72807a162a (patch)
tree2eee91b106a42f5209711a1b0fb8aa8cedf2f0c4 /gtk2_ardour/editor_timefx.cc
parentaa29b3b44cdcb0032f75998e6a8bec43d6e690df (diff)
Add windows equivalent of hack in timefx
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r--gtk2_ardour/editor_timefx.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc
index 2f0b09ed17..e43dae9e2b 100644
--- a/gtk2_ardour/editor_timefx.cc
+++ b/gtk2_ardour/editor_timefx.cc
@@ -402,9 +402,12 @@ Editor::timefx_thread (void *arg)
by the GUI ...
*/
+#ifdef WIN32
+ Sleep(2000);
+#else
struct timespec t = { 2, 0 };
nanosleep (&t, 0);
-
+#endif
return 0;
}