13
0

P2: Fix check if ports exist

This commit is contained in:
Robin Gareus 2018-08-30 22:28:31 +02:00
parent c3d0c80f68
commit 9f30d14906

View File

@ -1160,7 +1160,7 @@ Push2::pad_filter (MidiBuffer& in, MidiBuffer& out) const
void
Push2::port_registration_handler ()
{
if (!_async_in && !_async_out) {
if (!_async_in || !_async_out) {
/* ports not registered yet */
return;
}