mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 02:12:53 +02:00
one more
This commit is contained in:
parent
4f7a1a6e2e
commit
a29f07aef5
1 changed files with 4 additions and 2 deletions
|
@ -74,8 +74,10 @@ void CALLBACK MidiOutProc(HMIDIOUT hmo, UINT wMsg, DWORD_PTR dwInstance, DWORD_P
|
|||
|
||||
|
||||
void Midi::sendNote(int status, int note, int vel) {
|
||||
for (int i = 0; i < midihout.size(); i++) if (midihout[i] != NULL) {
|
||||
midiOutShortMsg(midihout[i], status + (note << 8) + (vel << 16));
|
||||
for (int i = 0; i < midihout.size(); i++) {
|
||||
if (midihout[i] != NULL) {
|
||||
midiOutShortMsg(midihout[i], status + (note << 8) + (vel << 16));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue