Skip to content

Ensure correct message length after parsing - #193

Open
fabien-gigante wants to merge 1 commit into
FortySevenEffects:masterfrom
fabien-gigante:patch-1
Open

Ensure correct message length after parsing#193
fabien-gigante wants to merge 1 commit into
FortySevenEffects:masterfrom
fabien-gigante:patch-1

Conversation

@fabien-gigante

@fabien-gigante fabien-gigante commented Dec 29, 2020

Copy link
Copy Markdown

After parsing the message length was not properly set in multiple cases.
Which doesn't allow for instance to use those messages as is with send(). Typical usage below.

  LocalMIDI.setHandleMessage([](const midi::Message<128>& msg) { RemoteMIDI.send(msg); });
  RemoteMIDI.setHandleMessage([](const midi::Message<128>& msg) { LocalMIDI.send(msg); });

After parsing the message length was still zero in multiple cases.
Which doesn't allow for instance to use those messages as is with send()
@franky47 franky47 added this to the 5.0.3 milestone Feb 11, 2021
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.

2 participants