This is the fix so that a zero as the final byte in a message buffer is not ignored.
Modified Input::poll_system_buffer! so as to correctly handle the
case where the last MIDI message in the buffer has zero as its
Just undid a trivial modification to the gets function
looks good! I'll merge it tomorrow night
Now works when last message byte is zero.
Merge branch 'master' of github.com:johnallsup/alsa-rawmidi
wait a second, why did you pass err to get_bytes? isn't err an ALSA error code? I think I may have had that particular part right...
Wow, ok. Thanks! I'll add some of that as comments