diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-08 18:11:29 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-08 18:11:29 +0300 |
commit | f7f94a81f40c634865d725bf381c8dac9f88f8fc (patch) | |
tree | 5a95950579f3ca56f74ee07db046c8906b27b572 /src/adlmidi_midiplay.cpp | |
parent | adfa9ae4cfd230baa33a57196c88e618c156c94c (diff) | |
download | libADLMIDI-f7f94a81f40c634865d725bf381c8dac9f88f8fc.tar.gz libADLMIDI-f7f94a81f40c634865d725bf381c8dac9f88f8fc.tar.bz2 libADLMIDI-f7f94a81f40c634865d725bf381c8dac9f88f8fc.zip |
Fix missing of byte skipping for the note-off event
Diffstat (limited to 'src/adlmidi_midiplay.cpp')
-rw-r--r-- | src/adlmidi_midiplay.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/adlmidi_midiplay.cpp b/src/adlmidi_midiplay.cpp index 94bfc45..1214ef5 100644 --- a/src/adlmidi_midiplay.cpp +++ b/src/adlmidi_midiplay.cpp @@ -1007,6 +1007,7 @@ void MIDIplay::HandleEvent(size_t tk) case 0x8: // Note off { uint8_t note = TrackData[tk][CurrentPosition.track[tk].ptr++]; + /*uint8_t vol=*/TrackData[tk][CurrentPosition.track[tk].ptr++]; //if(MidCh != 9) note -= 12; // HACK realTime_NoteOff(MidCh, note); break; |