Merge pull request #1060 from diizy/midifix

Fix autodetect of midicontroller
This commit is contained in:
Vesa V
2014-08-07 11:38:10 +03:00

View File

@@ -63,7 +63,7 @@ public:
}
virtual void processInEvent( const MidiEvent& event, const MidiTime& time )
virtual void processInEvent( const MidiEvent& event, const MidiTime& time, f_cnt_t offset = 0 )
{
if( event.type() == MidiControlChange &&
( m_midiPort.inputChannel() == 0 || m_midiPort.inputChannel() == event.channel() + 1 ) )