From b63e309ebf7f939f3b05725362a4df52dccc4c51 Mon Sep 17 00:00:00 2001 From: bribi Date: Mon, 8 Mar 2021 15:55:33 +0100 Subject: [PATCH] Let BASSMIDI handle CC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Don't even bother, it's HELL Trust me 🐸 --- Kiva-MIDI/BASSMIDI.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kiva-MIDI/BASSMIDI.cs b/Kiva-MIDI/BASSMIDI.cs index 0cbdefc..3162c47 100644 --- a/Kiva-MIDI/BASSMIDI.cs +++ b/Kiva-MIDI/BASSMIDI.cs @@ -164,7 +164,8 @@ public int KShortMessage(int dwParam1, int sampleoffset) } else if (cmd < 0xC0) //Control { - //TODO + // Don't even bother, let BASSMIDI handle them + BassMidi.BASS_MIDI_StreamEvents(Handle, BASSMIDIEventMode.BASS_MIDI_EVENTS_RAW, 0, (IntPtr)(&dwParam1), 3); return 0; } else if (cmd < 0xD0) //InstrumentSelect