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:
parent
c206cad638
commit
6bef95806e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user