Change order of midi entries so a new backend will default to a working midi system.
[ardour.git] / gtk2_ardour / editor_timefx.cc
index 2f0b09ed17a36f4d22b3990c30b6a47f027e1a9c..765030507b649adaf16d916d36ca97fada65f1f8 100644 (file)
@@ -45,7 +45,7 @@
 #include "ardour/stretch.h"
 
 #ifdef USE_RUBBERBAND
-#include "rubberband/RubberBandStretcher.h"
+#include <rubberband/RubberBandStretcher.h>
 using namespace RubberBand;
 #endif
 
@@ -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;
 }