summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-19 10:40:27 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-19 10:40:27 +0000
commitcb58ca535f7366834062c4f88d74b4de9488e63b (patch)
tree7e86f924e2ee6e5c78dd403e8fecc9c58bf6d95e /libs/ardour/delivery.cc
parent8232d4ab6f7ea3eb1df1cb73b77573cc64921a15 (diff)
flush_buffers on all of a route's deliveries so that MIDI sends work.
git-svn-id: svn://localhost/ardour2/branches/3.0@10231 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc
index 1566f7877d..72429e472d 100644
--- a/libs/ardour/delivery.cc
+++ b/libs/ardour/delivery.cc
@@ -454,6 +454,10 @@ Delivery::flush_buffers (framecnt_t nframes, framepos_t time)
{
/* io_lock, not taken: function must be called from Session::process() calltree */
+ if (!_output) {
+ return;
+ }
+
PortSet& ports (_output->ports());
for (PortSet::iterator i = ports.begin(); i != ports.end(); ++i) {