tentative redesign of MIDI looping, will probably fix #5050 but needs more extensive...
[ardour.git] / libs / ardour / ardour / buffer_manager.h
index e3ac981e63b6cce4ff2683c542355b79e2f57f11..2a8e7be6da95d7f01d85655b382f683b861dd44b 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "ardour/chan_count.h"
 #include <list>
-#include <glibmm/thread.h>
+#include <glibmm/threads.h>
 
 namespace ARDOUR {
 
@@ -24,7 +24,7 @@ public:
        static void ensure_buffers (ChanCount howmany = ChanCount::ZERO);
 
 private:
-       static Glib::StaticMutex rb_mutex;
+        static Glib::Threads::Mutex rb_mutex;
 
        typedef PBD::RingBufferNPT<ThreadBuffers*> ThreadBufferFIFO;
        typedef std::list<ThreadBuffers*> ThreadBufferList;