From 45584655f86ff93844fc448133652aa70b141668 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sat, 12 Mar 2022 04:42:47 +0100 Subject: [PATCH] #20 remove sleep --- Common/AudioUnit.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Common/AudioUnit.cpp b/Common/AudioUnit.cpp index db704a6..0adeac4 100644 --- a/Common/AudioUnit.cpp +++ b/Common/AudioUnit.cpp @@ -23,7 +23,6 @@ #include #include #include -#include #include "DStarDefines.h" #include "HeaderData.h" @@ -189,7 +188,6 @@ void CAudioUnit::clock(unsigned int ms) } if (m_status == AS_TRANSMIT) { - std::this_thread::sleep_for(std::chrono::milliseconds(20)); unsigned int needed = std::chrono::duration_cast(std::chrono::high_resolution_clock::now() - m_time).count(); needed /= DSTAR_FRAME_TIME_MS;