you can just start it at full prio

master
zetaPRIME 2022-03-09 00:59:52 -05:00
parent 4cf9a61a56
commit 12ba77fc96
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@ void AudioEngine::init() {
// ...
// and off to the races
thread->start();
thread->setPriority(QThread::TimeCriticalPriority);
thread->start(QThread::TimeCriticalPriority);
QMetaObject::invokeMethod(audioEngine, &AudioEngine::postInit, Qt::QueuedConnection);
}
void AudioEngine::postInit() {