projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use Glib::usleep in Editor::timefx_thread on Windows
[ardour.git]
/
gtk2_ardour
/
editor_timefx.cc
diff --git
a/gtk2_ardour/editor_timefx.cc
b/gtk2_ardour/editor_timefx.cc
index 2528c823b7996ac9f75346ece542476c47378f87..765030507b649adaf16d916d36ca97fada65f1f8 100644
(file)
--- 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);