mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
ignore system reset messages entirely in the MIDI parser
This commit is contained in:
parent
db5377da46
commit
6e79f473f4
1 changed files with 7 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue