From 26625b137f5c6fd9c500d89473fbc58a853ea35d Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Wed, 23 Jan 2013 23:26:23 +0100 Subject: [PATCH] InstrumentTrack: do not evaluate realOutputChannel() for the time being When deciding whether to forward a MIDI event directly to the instrument plugin do not evaluate realOutputChannel() for the time being as it is ranged from 0 to 15 and has no don't-care-state like the input channel. This is a workaround - we need a better solution here. --- src/tracks/InstrumentTrack.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tracks/InstrumentTrack.cpp b/src/tracks/InstrumentTrack.cpp index e60610c6f..5dcac3f11 100644 --- a/src/tracks/InstrumentTrack.cpp +++ b/src/tracks/InstrumentTrack.cpp @@ -226,8 +226,8 @@ void InstrumentTrack::processInEvent( const midiEvent & _me, // is MIDI based (VST plugin, Sf2Player etc.) and the user did not set // a dedicated MIDI output channel, directly pass the MIDI event to the // instrument plugin - if( _me.isFromMidiPort() && m_instrument->isMidiBased() && - midiPort()->realOutputChannel() < 0 ) + if( _me.isFromMidiPort() && m_instrument->isMidiBased()/* && + midiPort()->realOutputChannel() < 0 */ ) { m_instrument->handleMidiEvent( _me, _time ); return;