diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-22 14:41:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-22 14:41:11 +0000 |
commit | 76b735680226d9691d8c1bc38c3191faa633ee7a (patch) | |
tree | 4162bbb7a1d0945fd1051945096005032e819edd /libs | |
parent | 6e04b4381ce97da1a1a5d0d4517a5ac4f2404d41 (diff) |
Fix crash on using sends with no MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@4432 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index ec9618d47e..0857fad94d 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -295,7 +295,7 @@ IO::deliver_output (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, /* ********** MIDI ********** */ // No MIDI, we're done here - if (bufs.count().n_midi() == 0) { + if (bufs.count().n_midi() == 0 || output_buffers().count().n_midi () == 0) { return; } |