X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_timefx.cc;h=765030507b649adaf16d916d36ca97fada65f1f8;hb=e3dd226ffa562d28758555d67961d95723e2a2f0;hp=06823fda19943f7ea15808bf425b39f4d14d2362;hpb=fe14092d57a137bc6613046062f74307d05f709a;p=ardour.git diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 06823fda19..765030507b 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 PLATFORM_WINDOWS + Glib::usleep(2 * G_USEC_PER_SEC); +#else struct timespec t = { 2, 0 }; nanosleep (&t, 0); - +#endif return 0; }