thestk/rtmidi — pull request #10 by codepainters (2014-03-02 22:43:02+00:00)
Title: Spurious callbacks for ignored SysEx messages on Mac OS

It seems that SysEx messages filtering on Mac OS doesn't work as expected. With SysEx ignoring enabled, I can still observe callbacks with 0-sized payload.

The problem is that the SysEx ignoring flag only controls buffer appending, and not the callback invocation itself. Fix below.