mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
Somewhat hacky fix to stop the graph code allocating in the RT thread.
git-svn-id: svn://localhost/ardour2/branches/3.0@8491 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
dd7caa0165
commit
65c97361a9
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue