summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-27 20:38:59 +0100
committerDavid Robillard <d@drobilla.net>2017-02-27 20:38:59 +0100
commitba3f964aacaf5280c27ea8ed582afb01676a350c (patch)
tree0715887f672b880b24d76679d0f4aaaaf66f26a2 /src
parent4f49633f7ad8629d2ab1c84e4b795703ef371e75 (diff)
downloadingen-ba3f964aacaf5280c27ea8ed582afb01676a350c.tar.gz
ingen-ba3f964aacaf5280c27ea8ed582afb01676a350c.tar.bz2
ingen-ba3f964aacaf5280c27ea8ed582afb01676a350c.zip
Update for latest Raul
Diffstat (limited to 'src')
-rw-r--r--src/server/JackDriver.cpp2
-rw-r--r--src/server/PreProcessor.cpp2
2 files changed, 2 insertions, 2 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;
}