From 8bea659f44cc177844ee58b6eb6e66287234818b Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 2 May 2014 20:21:17 +1000 Subject: [PATCH] Use Glib::usleep in Editor::timefx_thread on Windows --- gtk2_ardour/editor_timefx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index cc34c49dda..c0c8cd3be0 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -406,7 +406,7 @@ Editor::timefx_thread (void *arg) */ #ifdef PLATFORM_WINDOWS - Sleep(2000); + Glib::usleep(2 * G_USEC_PER_SEC); #else struct timespec t = { 2, 0 }; nanosleep (&t, 0);