Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for wrong size of message.length #337

Open
wants to merge 1 commit into
base: feat/v5.1.0
Choose a base branch
from

Conversation

rbarreiros
Copy link

Initialize message.length on first packet (don't leave it at 0) and fix for 2 packet message sizes.
I noticed that the end of message is already covered with setting message length with the mPendingMessageExpectedLength as it should, and that there's a check if the message is realtime, as send() in master branch calls getStatus() which screws up realtime midi messages (0xf8).

src/MIDI.hpp Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants