diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-10 23:31:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-10 23:31:53 +0000 |
commit | 9e14ce38e0f62c885a12edbb6e360a6398f67a7a (patch) | |
tree | 7cd6cc9b994f8a91bdec2b28b6408661fa2435c4 | |
parent | 639542b410827a08f3e91243158c03b9faf5956b (diff) |
fix botched fix
git-svn-id: svn://localhost/ardour2/branches/3.0@8007 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/graph.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 6dc76673ff..6c31c9903c 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -89,8 +89,9 @@ Graph::Graph (Session & session) } for (int i = 1; i < num_threads; ++i) { - if (AudioEngine::instance()->create_process_thread (boost::bind (&Graph::helper_thread, this), &a_thread, 100000)); - _thread_list.push_back (a_thread); + if (AudioEngine::instance()->create_process_thread (boost::bind (&Graph::helper_thread, this), &a_thread, 100000) == 0) { + _thread_list.push_back (a_thread); + } } } |