diff --git a/test/main.cpp b/test/main.cpp index eef2b1a..38c7c9c 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -148,7 +148,7 @@ int main(int _argc, const char** _argv) { algo.process(&output[iii*blockSize], &fbData[iii*blockSize], &micData[iii*blockSize], blockSize); if (perf == true) { perfo.toc(); - std::this_thread::sleep_for(std::chrono::milliseconds(1)); + ethread::sleepMilliSeconds((1)); } } } else { @@ -172,7 +172,7 @@ int main(int _argc, const char** _argv) { algo.process(&output[iii*blockSize], &fbData[iii*blockSize], &micData[iii*blockSize], blockSize); if (perf == true) { perfo.toc(); - std::this_thread::sleep_for(std::chrono::milliseconds(1)); + ethread::sleepMilliSeconds((1)); } } }