MIDI Plugin: Fix stupid typo

Damn, how did I miss this one?

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-09 18:38:12 -08:00
parent b03702e164
commit a212c85252
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ void BMPlayer::send_event(uint32_t b) {
void BMPlayer::send_sysex(const uint8_t *data, size_t size, size_t port) {
if(port > 2) port = 0;
BASS_MIDI_StreamEvents(_stream[port], BASS_MIDI_EVENTS_RAW, event, static_cast<unsigned int>(size));
BASS_MIDI_StreamEvents(_stream[port], BASS_MIDI_EVENTS_RAW, data, static_cast<unsigned int>(size));
if(port == 0) {
BASS_MIDI_StreamEvents(_stream[1], BASS_MIDI_EVENTS_RAW, data, static_cast<unsigned int>(size));
BASS_MIDI_StreamEvents(_stream[2], BASS_MIDI_EVENTS_RAW, data, static_cast<unsigned int>(size));