mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 06:22:06 +00:00
fluid_midi_parser_parse pass all realtime messages
This commit is contained in:
parent
fe7fa3e309
commit
ff362b52cd
1 changed files with 3 additions and 8 deletions
|
@ -2642,14 +2642,9 @@ fluid_midi_parser_parse(fluid_midi_parser_t *parser, unsigned char c)
|
||||||
* of another message. */
|
* of another message. */
|
||||||
if(c >= 0xF8)
|
if(c >= 0xF8)
|
||||||
{
|
{
|
||||||
if(c == MIDI_SYSTEM_RESET)
|
parser->event.type = c;
|
||||||
{
|
parser->status = 0; /* clear the status */
|
||||||
parser->event.type = c;
|
return &parser->event;
|
||||||
parser->status = 0; /* clear the status */
|
|
||||||
return &parser->event;
|
|
||||||
}
|
|
||||||
|
|
||||||
return NULL;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Status byte? - If previous message not yet complete, it is discarded (re-sync). */
|
/* Status byte? - If previous message not yet complete, it is discarded (re-sync). */
|
||||||
|
|
Loading…
Reference in a new issue