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