Replace deprecated QMutex(Recursive) with QRecursiveMutex

This commit is contained in:
Jiří Pinkava
2022-09-17 23:00:07 +02:00
parent b20b3ea343
commit 0df2d75e6d
234 changed files with 310 additions and 432 deletions
@@ -42,8 +42,7 @@ SimplePTTWorker::SimplePTTWorker(WebAPIAdapterInterface *webAPIAdapterInterface)
m_voxLevel(1.0),
m_voxHoldCount(0),
m_voxState(false),
m_updateTimer(this),
m_mutex(QMutex::Recursive)
m_updateTimer(this)
{
m_audioReadBuffer.resize(16384);
m_audioReadBufferFill = 0;