ignore system reset messages entirely in the MIDI parser
This commit is contained in:
parent
db5377da46
commit
6e79f473f4
@ -346,6 +346,13 @@ Parser::scanner (unsigned char inbyte)
|
||||
return;
|
||||
}
|
||||
|
||||
/* ditto for system reset, except do even less */
|
||||
|
||||
if (inbyte == 0xff) {
|
||||
message_counter[inbyte]++;
|
||||
return;
|
||||
}
|
||||
|
||||
/* If necessary, allocate larger message buffer. */
|
||||
|
||||
if (msgindex >= msglen) {
|
||||
@ -793,4 +800,3 @@ Parser::set_offline (bool yn)
|
||||
state = NEEDSTATUS;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user