summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-03-18 20:21:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-03-18 20:21:51 +0000
commitca84e02b48e0c36755963a35713d272c409d9317 (patch)
tree90f637b7a67431a75fe587fc8ddfee6d04b24de4 /libs/ardour/graph.cc
parent065b5ce8e7c0328153d087aa0209dbe6cb744d54 (diff)
fix (?) capture alignment by making sure we use non-public latency information for playback latency, thus avoiding counting plugin latency twice
git-svn-id: svn://localhost/ardour2/branches/3.0@9168 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/graph.cc')
-rw-r--r--libs/ardour/graph.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc
index f52180f98e..0403053bab 100644
--- a/libs/ardour/graph.cc
+++ b/libs/ardour/graph.cc
@@ -113,12 +113,16 @@ Graph::reset_thread_list ()
drop_threads ();
}
+#if 0
+ /* XXX this only makes sense when we can use just the AudioEngine thread
+ and still keep the graph current with the route list
+ */
if (num_threads <= 1) {
/* no point creating 1 thread - the AudioEngine already gives us one
*/
return;
}
-
+#endif
if (AudioEngine::instance()->create_process_thread (boost::bind (&Graph::main_thread, this), &a_thread, 100000) == 0) {
_thread_list.push_back (a_thread);
}