From 8a796bd5e1e1d43356474c4fa6b6c8d1a6be3cae Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 2 May 2014 20:21:17 +1000 Subject: Use Glib::usleep in Editor::timefx_thread on Windows --- gtk2_ardour/editor_timefx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/editor_timefx.cc') diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 2528c823b7..765030507b 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -403,7 +403,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); -- cgit v1.2.3