thread/Slack: use std::chrono::duration

This commit is contained in:
Max Kellermann
2019-05-29 21:11:32 +02:00
parent 14cee01ba1
commit 620a39afb4
4 changed files with 10 additions and 13 deletions

View File

@@ -410,7 +410,7 @@ AudioOutputControl::Task() noexcept
"OutputThread could not get realtime scheduling, continuing anyway");
}
SetThreadTimerSlackUS(100);
SetThreadTimerSlack(std::chrono::microseconds(100));
std::unique_lock<Mutex> lock(mutex);