13
0

Fix crash with input (not duplex) control MIDI ports.

git-svn-id: svn://localhost/ardour2/branches/3.0@5829 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-10-20 22:33:08 +00:00
parent c206cad638
commit 6bef95806e

View File

@ -92,7 +92,9 @@ JACK_MidiPort::cycle_start (nframes_t nframes)
void
JACK_MidiPort::cycle_end ()
{
if (_jack_output_port != 0) {
flush(jack_port_get_buffer(_jack_output_port, _nframes_this_cycle));
}
}
int