=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sndiod/midi.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/sndiod/midi.h 2019/09/21 04:42:46 1.10 +++ src/usr.bin/sndiod/midi.h 2020/01/23 05:27:17 1.11 @@ -1,4 +1,4 @@ -/* $OpenBSD: midi.h,v 1.10 2019/09/21 04:42:46 ratchov Exp $ */ +/* $OpenBSD: midi.h,v 1.11 2020/01/23 05:27:17 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -68,6 +68,7 @@ #define MIDI_MSGMAX 16 /* max size of MIDI msg */ unsigned char msg[MIDI_MSGMAX]; /* parsed input message */ unsigned int st; /* input MIDI running status */ + unsigned int last_st; /* backup of st during sysex */ unsigned int used; /* bytes used in ``msg'' */ unsigned int idx; /* current ``msg'' size */ unsigned int len; /* expected ``msg'' length */