Commit 11cd38c9 authored by sletz's avatar sletz
Browse files

Fix JackWinMMEDriver::Write.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3583 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 347c6b87
......@@ -392,6 +392,7 @@ int JackWinMMEDriver::Write()
for (unsigned int j = 0; j < midi_buffer->event_count; j++) {
JackMidiEvent* ev = &midi_buffer->events[j];
if (ev->size <= 3) {
jack_midi_data_t *d = ev->GetData(midi_buffer);
DWORD winev = 0;
if (ev->size > 0) winev |= d[0];
if (ev->size > 1) winev |= (d[1] << 8);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment