X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Feditor_timefx.cc;h=765030507b649adaf16d916d36ca97fada65f1f8;hb=dfbc9da79aef9cc05808d29a20c6d12c5d553a80;hp=e43dae9e2b4cf2efe3f6e4fed88f0453300ccb84;hpb=aaabaf5d3c8624f398809bb468e2b121a23abda0;p=ardour.git diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index e43dae9e2b..765030507b 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -45,7 +45,7 @@ #include "ardour/stretch.h" #ifdef USE_RUBBERBAND -#include "rubberband/RubberBandStretcher.h" +#include using namespace RubberBand; #endif @@ -402,8 +402,8 @@ Editor::timefx_thread (void *arg) by the GUI ... */ -#ifdef WIN32 - Sleep(2000); +#ifdef PLATFORM_WINDOWS + Glib::usleep(2 * G_USEC_PER_SEC); #else struct timespec t = { 2, 0 }; nanosleep (&t, 0);