mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Use Glib::usleep in Editor::timefx_thread on Windows
This commit is contained in:
parent
b768d6c39d
commit
8a796bd5e1
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ Editor::timefx_thread (void *arg)
|
|||
*/
|
||||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
Sleep(2000);
|
||||
Glib::usleep(2 * G_USEC_PER_SEC);
|
||||
#else
|
||||
struct timespec t = { 2, 0 };
|
||||
nanosleep (&t, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue