update clocks and video-frames at FPS
[ardour.git] / gtk2_ardour / editor_timefx.cc
index 06823fda19943f7ea15808bf425b39f4d14d2362..765030507b649adaf16d916d36ca97fada65f1f8 100644 (file)
@@ -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;
 }