13
0

Fix crash on using sends with no MIDI

git-svn-id: svn://localhost/ardour2/branches/3.0@4432 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-01-22 14:41:11 +00:00
parent 6e04b4381c
commit 76b7356802

View File

@ -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;
}