summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index 9549a9dcc9..0d3749aff0 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -49,6 +49,11 @@ Graph::Graph (Session & session)
{
pthread_mutex_init( &_trigger_mutex, NULL);
+ /* XXX: rather hacky `fix' to stop _trigger_queue.push_back() allocating
+ memory in the RT thread.
+ */
+ _trigger_queue.reserve (8192);
+
_execution_tokens = 0;
_current_chain = 0;