Vestige: send NoteOff events for all possible MIDI keys

In VestigeInstrumentView::noteOffAll() do not only send MIDI NoteOff
events for all LMMS keys but for the whole range of MIDI keys.
This commit is contained in:
Tobias Doerffel
2012-11-11 23:40:48 +01:00
parent 3842cb3d61
commit 3be675ac7b

View File

@@ -711,7 +711,7 @@ void VestigeInstrumentView::noteOffAll( void )
m_vi->m_pluginMutex.lock();
if( m_vi->m_plugin != NULL )
{
for( int key = 0; key < NumKeys; ++key )
for( int key = 0; key <= MidiMaxNote; ++key )
{
m_vi->m_plugin->processMidiEvent(
midiEvent( MidiNoteOff, 0, key, 0 ), 0 );