summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r--src/JackDriver.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp
index 5649950..6a404a7 100644
--- a/src/JackDriver.hpp
+++ b/src/JackDriver.hpp
@@ -1,5 +1,5 @@
/* This file is part of Patchage.
- * Copyright 2007-2014 David Robillard <http://drobilla.net>
+ * Copyright 2007-2020 David Robillard <d@drobilla.net>
*
* Patchage is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
@@ -23,6 +23,7 @@
#include <glibmm/thread.h>
#include <jack/jack.h>
+#include <mutex>
#include <string>
class Patchage;
@@ -96,7 +97,7 @@ private:
Queue<PatchageEvent> _events;
- Glib::Mutex _shutdown_mutex;
+ std::mutex _shutdown_mutex;
jack_position_t _last_pos;
jack_nframes_t _buffer_size;