This commit is contained in:
Jonas Kulla 2014-08-02 06:50:14 +02:00
parent 751fdc599e
commit cc7218c19d
1 changed files with 11 additions and 10 deletions

View File

@ -116,7 +116,8 @@ struct MidiEvent
{ {
MidiEventType type; MidiEventType type;
uint32_t delta; uint32_t delta;
union { union
{
ChannelEvent chan; ChannelEvent chan;
NoteOnEvent noteOn; NoteOnEvent noteOn;
NoteOffEvent noteOff; NoteOffEvent noteOff;