atsushieno / managed-midi

[Past project] Cross-platform MIDI processing library for mono and .NET (ALSA, CoreMIDI, Android, WinMM and UWP).
MIT License
194 stars 26 forks source link

Fixed bug with WinMMMidiInput #40

Closed cjvaughter closed 5 years ago

cjvaughter commented 5 years ago

HandleData had a data size mismatch. MidiEvent.FixedDataSize returns the number of bytes after the status byte, but HandleData was using it as the total message size.

atsushieno commented 5 years ago

That was a stupid bug too...! Thanks for the fix!