Fix sendChannelMessage Signature on SendNoteOn/Off
Fix sendChannelMessage call Signature on SendNoteOn & SendNoteOff functions
This commit is contained in:
parent
810429cdd2
commit
79c7d4ec22
|
|
@ -277,11 +277,11 @@ namespace Midi {
|
|||
public:
|
||||
// sending
|
||||
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) {
|
||||
sendChannelMessage(MidiType::NoteOff, channel, note, velocity);
|
||||
sendChannelMessage(MidiType::NoteOff, note, velocity, channel);
|
||||
}
|
||||
|
||||
void sendProgramChange(DataByte number, Channel channel) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue