you can just start it at full prio
parent
4cf9a61a56
commit
12ba77fc96
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue