mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Use Sleep instead of usleep on windows in JACK backend
This commit is contained in:
parent
4a1b43b9d5
commit
0f6a65e405
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue