Fix thruFilter bug from #45.
This commit is contained in:
parent
a8e5b0ba15
commit
489b49b862
|
|
@ -1289,8 +1289,8 @@ void MidiInterface<SerialPort, Settings>::thruFilter(Channel inChannel)
|
||||||
// First, check if the received message is Channel
|
// First, check if the received message is Channel
|
||||||
if (mMessage.type >= NoteOff && mMessage.type <= PitchBend)
|
if (mMessage.type >= NoteOff && mMessage.type <= PitchBend)
|
||||||
{
|
{
|
||||||
const bool filter_condition = ((mMessage.channel == mInputChannel) ||
|
const bool filter_condition = ((mMessage.channel == inChannel) ||
|
||||||
(mInputChannel == MIDI_CHANNEL_OMNI));
|
(inChannel == MIDI_CHANNEL_OMNI));
|
||||||
|
|
||||||
// Now let's pass it to the output
|
// Now let's pass it to the output
|
||||||
switch (mThruFilterMode)
|
switch (mThruFilterMode)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue