From a138b71ab51d30a76fd9a9eb8ca4318bd4862613 Mon Sep 17 00:00:00 2001 From: Vesa Date: Thu, 7 Aug 2014 11:36:28 +0300 Subject: [PATCH] Fix autodetect of midicontroller Fix #999 --- src/gui/ControllerConnectionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/ControllerConnectionDialog.cpp b/src/gui/ControllerConnectionDialog.cpp index ba9833dc8..9b03338ef 100644 --- a/src/gui/ControllerConnectionDialog.cpp +++ b/src/gui/ControllerConnectionDialog.cpp @@ -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 ) )