summaryrefslogtreecommitdiff
path: root/libs/ardour/session_events.cc
diff options
context:
space:
mode:
authorGZharun <grygoriiz@wavesglobal.com>2015-02-24 14:27:36 +0200
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:16:42 -0400
commitef59fbffa17c6ed08e22d17daaea0d6fa4c4ce18 (patch)
tree08d0852c0795b0d769686a713e006db8dba7f93f /libs/ardour/session_events.cc
parent017e580c9f1f03f6dab574406aaad028bebc452a (diff)
[Summary] Added possibility to identify IO thread which does not have required resources initialized during process callback handling
Conflicts: libs/ardour/ardour/audioengine.h libs/backends/wavesaudio/waves_audiobackend.cc libs/pbd/pbd/pool.h
Diffstat (limited to 'libs/ardour/session_events.cc')
-rw-r--r--libs/ardour/session_events.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_events.cc b/libs/ardour/session_events.cc
index 53a26363b0..f375781143 100644
--- a/libs/ardour/session_events.cc
+++ b/libs/ardour/session_events.cc
@@ -42,6 +42,12 @@ SessionEvent::init_event_pool ()
pool = new PerThreadPool;
}
+bool
+SessionEvent::has_per_thread_pool ()
+{
+ return pool->has_per_thread_pool ();
+}
+
void
SessionEvent::create_per_thread_pool (const std::string& name, uint32_t nitems)
{