P2: Fix check if ports exist
This commit is contained in:
parent
c3d0c80f68
commit
9f30d14906
@ -1160,7 +1160,7 @@ Push2::pad_filter (MidiBuffer& in, MidiBuffer& out) const
|
|||||||
void
|
void
|
||||||
Push2::port_registration_handler ()
|
Push2::port_registration_handler ()
|
||||||
{
|
{
|
||||||
if (!_async_in && !_async_out) {
|
if (!_async_in || !_async_out) {
|
||||||
/* ports not registered yet */
|
/* ports not registered yet */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user