13
0

Use Sleep instead of usleep on windows in JACK backend

This commit is contained in:
Tim Mayberry 2013-12-03 20:07:32 +10:00
parent 4a1b43b9d5
commit 0f6a65e405

View File

@ -145,7 +145,11 @@ JackConnection::close ()
_jack = 0;
/* If we started JACK, it will be closing down */
#ifdef PLATFORM_WINDOWS
Sleep(500);
#else
usleep (500000);
#endif
Disconnected (""); /* EMIT SIGNAL */