From fde103da2de2497edf34c81d1a2b66444094586e Mon Sep 17 00:00:00 2001 From: Uwe Risse Date: Sun, 23 Jan 2022 09:14:39 +0100 Subject: [PATCH] Revert "Fix the dropped audio problems on Windows" This reverts commit 194ad5c7b4b6e0d38a375273e562dc49aaba6a8a. --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 39e7674f2..a92e1c359 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -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 (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt ()); + m_audioThreadPriority = static_cast (m_settings->value ("Audio/ThreadPriority", QThread::HighPriority).toInt () % 8); m_settings->endGroup (); checkMSK144ContestType();