mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-29 00:17:49 +00:00
Fix high CPU usage in musikcube-cmd build.
This commit is contained in:
parent
710eecbee9
commit
95420b8359
@ -40,11 +40,15 @@
|
||||
#include <musikcore/runtime/IMessageQueue.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#define IDLE_TIMEOUT_MS 0
|
||||
#define REDRAW_DEBOUNCE_MS 100
|
||||
#if defined(PDCURSES_WINCON) || defined(_CONSOLE)
|
||||
#define IDLE_TIMEOUT_MS 1
|
||||
#else
|
||||
#define IDLE_TIMEOUT_MS 0
|
||||
#endif
|
||||
#define REDRAW_DEBOUNCE_MS 100
|
||||
#else
|
||||
#define IDLE_TIMEOUT_MS 75
|
||||
#define REDRAW_DEBOUNCE_MS 100
|
||||
#define IDLE_TIMEOUT_MS 75
|
||||
#define REDRAW_DEBOUNCE_MS 100
|
||||
#endif
|
||||
|
||||
namespace cursespp {
|
||||
|
Loading…
Reference in New Issue
Block a user