InstrumentTrack: make sure m_runningMidiNotes[x] does not become negative
commit14cfe7780433f9e25d4d0f8efac50f0f9ba53159
authorTobias Doerffel <tobias.doerffel@gmail.com>
Sat, 2 Jul 2011 12:41:17 +0000 (2 14:41 +0200)
committerTobias Doerffel <tobias.doerffel@gmail.com>
Sat, 2 Jul 2011 12:41:17 +0000 (2 14:41 +0200)
tree527d842d86acb93f2ee9f6ea8d0e31bfa3d45715
parent83daa2d8fb567dd5bee1814b4a79be9ece4be517
InstrumentTrack: make sure m_runningMidiNotes[x] does not become negative

Even though there's no known code path for this event to happen we
should always make sure m_runningMidiNotes[x] does not become negative
as this might mess up future key events.
src/tracks/InstrumentTrack.cpp