Files
lmms/include
Tobias Doerffel 7b68713008 NotePlayHandle: send correct MidiNoteOff events if base note changed
When changing an InstrumentTrack's base note while NotePlayHandles are
active, they will send a wrong MidiNoteOff event due to the masterKey()
translation in InstrumentTrack::processOutEvent().

Therefore in NotePlayHandle remember the original base note value and
add the difference between original and current base note to the value
returned by NotePlayHandle::key(). Fixes hanging notes in MIDI-based
instruments such as ZynAddSubFX.

Furthermore some coding style improvements.

Closes #3146975.
(cherry picked from commit a9717c0cc3)
2010-12-31 13:32:51 +01:00
..
2010-01-25 23:24:42 +01:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2007-08-27 18:25:01 +00:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2008-09-08 22:48:43 +00:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2006-08-27 23:24:31 +00:00
2008-07-22 11:36:50 +00:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2008-04-12 15:10:55 +00:00
2009-11-29 23:21:54 +01:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-10-25 16:19:57 -04:00
2010-01-25 23:24:42 +01:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2007-08-27 18:25:01 +00:00
2009-08-24 17:59:28 +02:00
2009-08-24 17:59:28 +02:00
2010-01-25 23:24:42 +01:00