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 +- wscript | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; } diff --git a/wscript b/wscript index 4b5185a1..8b920037 100644 --- a/wscript +++ b/wscript @@ -86,7 +86,7 @@ def configure(conf): autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM', atleast_version='0.4.6', mandatory=True) autowaf.check_pkg(conf, 'raul', uselib_store='RAUL', - atleast_version='0.8.7', mandatory=True) + atleast_version='0.8.9', mandatory=True) autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', atleast_version='0.18.0', mandatory=False) autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD', -- cgit v1.2.1