diff options
author | Robin Gareus <robin@gareus.org> | 2018-08-30 22:28:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-08-30 22:28:31 +0200 |
commit | 9f30d149060dbba091075f10b3c42e873bf2ba29 (patch) | |
tree | eb2608592b81694b435fa0797531da774ca4a042 | |
parent | c3d0c80f68870d2c3a7d48f1052fa26433ef338d (diff) |
P2: Fix check if ports exist
-rw-r--r-- | libs/surfaces/push2/push2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index b024b6404f..baef27ed5f 100644 --- a/libs/surfaces/push2/push2.cc +++ b/libs/surfaces/push2/push2.cc @@ -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; } |