From ba3f964aacaf5280c27ea8ed582afb01676a350c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 27 Feb 2017 20:38:59 +0100 Subject: Update for latest Raul --- src/server/JackDriver.cpp | 2 +- src/server/PreProcessor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/JackDriver.cpp b/src/server/JackDriver.cpp index e2a2d480..44f92dd8 100644 --- a/src/server/JackDriver.cpp +++ b/src/server/JackDriver.cpp @@ -178,7 +178,7 @@ JackDriver::deactivate() if (_is_activated) { _flag = true; _is_activated = false; - _sem.timed_wait(1000); + _sem.timed_wait(std::chrono::seconds(1)); for (auto& p : _ports) { unregister_port(p); diff --git a/src/server/PreProcessor.cpp b/src/server/PreProcessor.cpp index 11037d84..4efe88fe 100644 --- a/src/server/PreProcessor.cpp +++ b/src/server/PreProcessor.cpp @@ -181,7 +181,7 @@ PreProcessor::run() Event* back = NULL; while (!_exit_flag) { - if (!_sem.timed_wait(1000)) { + if (!_sem.timed_wait(std::chrono::seconds(1))) { continue; } -- cgit v1.2.1