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:
parent
6e04b4381c
commit
76b7356802
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user