X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_timefx.cc;h=765030507b649adaf16d916d36ca97fada65f1f8;hb=e3dd226ffa562d28758555d67961d95723e2a2f0;hp=33259a398b029c218bb97568d58aa0e6076fd0d3;hpb=08371ae2cf6231bbb8522645d14add41ffa9c1c0;p=ardour.git diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 33259a398b..765030507b 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -402,8 +402,8 @@ Editor::timefx_thread (void *arg) by the GUI ... */ -#ifdef WIN32 - Sleep(2000); +#ifdef PLATFORM_WINDOWS + Glib::usleep(2 * G_USEC_PER_SEC); #else struct timespec t = { 2, 0 }; nanosleep (&t, 0);