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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user