Fix the dropped audio problems on Windows

This commit is contained in:
Uwe Risse 2022-01-22 09:43:15 +01:00
parent 5c09e55351
commit 194ad5c7b4

View File

@ -1320,7 +1320,7 @@ void MainWindow::readSettings()
// use these initialisation settings to tune the audio o/p buffer
// size and audio thread priority
m_settings->beginGroup ("Tune");
m_audioThreadPriority = static_cast<QThread::Priority> (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt () % 8);
m_audioThreadPriority = static_cast<QThread::Priority> (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt ());
m_settings->endGroup ();
checkMSK144ContestType();