MIDI Plugin: Fix stupid typo
Damn, how did I miss this one? Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
b03702e164
commit
a212c85252
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
void BMPlayer::send_sysex(const uint8_t *data, size_t size, size_t port) {
|
||||||
if(port > 2) port = 0;
|
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) {
|
if(port == 0) {
|
||||||
BASS_MIDI_StreamEvents(_stream[1], BASS_MIDI_EVENTS_RAW, data, static_cast<unsigned int>(size));
|
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));
|
BASS_MIDI_StreamEvents(_stream[2], BASS_MIDI_EVENTS_RAW, data, static_cast<unsigned int>(size));
|
||||||
|
|
Loading…
Reference in a new issue