diff options
author | Carl Hetherington <carl@carlh.net> | 2011-10-19 10:40:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-10-19 10:40:27 +0000 |
commit | cb58ca535f7366834062c4f88d74b4de9488e63b (patch) | |
tree | 7e86f924e2ee6e5c78dd403e8fecc9c58bf6d95e /libs/ardour/track.cc | |
parent | 8232d4ab6f7ea3eb1df1cb73b77573cc64921a15 (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/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 4f682085b2..5c9bcc747d 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -278,7 +278,12 @@ Track::no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, passthru (start_frame, end_frame, nframes, false); } - _main_outs->flush_buffers (nframes, end_frame - start_frame - 1); + for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) { + boost::shared_ptr<Delivery> d = boost::dynamic_pointer_cast<Delivery> (*i); + if (d) { + d->flush_buffers (nframes, end_frame - start_frame - 1); + } + } return 0; } |