Use Sleep instead of usleep on windows in JACK backend
This commit is contained in:
parent
4a1b43b9d5
commit
0f6a65e405
@ -145,7 +145,11 @@ JackConnection::close ()
|
|||||||
_jack = 0;
|
_jack = 0;
|
||||||
|
|
||||||
/* If we started JACK, it will be closing down */
|
/* If we started JACK, it will be closing down */
|
||||||
|
#ifdef PLATFORM_WINDOWS
|
||||||
|
Sleep(500);
|
||||||
|
#else
|
||||||
usleep (500000);
|
usleep (500000);
|
||||||
|
#endif
|
||||||
|
|
||||||
Disconnected (""); /* EMIT SIGNAL */
|
Disconnected (""); /* EMIT SIGNAL */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user