-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snd_midi_event_encode encoes only first MIDI message. Instead, keep pumping snd_midi_event_encode_byte and when it indicates a fully-formed ALSA sequencer event seen, output it, and if any events output after processing all bytes in the buffer, then drain the output. Still need to better understand whether need snd_midi_event_reset_encode call is necessary.
- Loading branch information
Showing
1 changed file
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters