summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2014-05-02 20:21:17 +1000
committerTim Mayberry <mojofunk@gmail.com>2014-05-14 09:47:40 +1000
commit8a796bd5e1e1d43356474c4fa6b6c8d1a6be3cae (patch)
tree4a09a3edfc1254d5e99f2f409097c348e8959425 /gtk2_ardour/editor_timefx.cc
parentb768d6c39d1a7b335da86f7f35edc3c18ab1ba7f (diff)
Use Glib::usleep in Editor::timefx_thread on Windows
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r--gtk2_ardour/editor_timefx.cc2
1 files changed, 1 insertions, 1 deletions
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);