Fix sendChannelMessage Signature on SendNoteOn/Off

Fix sendChannelMessage call Signature on SendNoteOn & SendNoteOff functions
This commit is contained in:
Da CodeKid 2019-02-18 14:35:25 -05:00 committed by GitHub
parent 810429cdd2
commit 79c7d4ec22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -277,11 +277,11 @@ namespace Midi {
public: public:
// sending // sending
void sendNoteOn(DataByte note, DataByte velocity, Channel channel) { void sendNoteOn(DataByte note, DataByte velocity, Channel channel) {
sendChannelMessage(MidiType::NoteOn, channel, note, velocity); sendChannelMessage(MidiType::NoteOn, note, velocity, channel);
} }
void sendNoteOff(DataByte note, DataByte velocity, Channel channel) { void sendNoteOff(DataByte note, DataByte velocity, Channel channel) {
sendChannelMessage(MidiType::NoteOff, channel, note, velocity); sendChannelMessage(MidiType::NoteOff, note, velocity, channel);
} }
void sendProgramChange(DataByte number, Channel channel) { void sendProgramChange(DataByte number, Channel channel) {