Commit 718c52cf authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wineoss: Make the MIM_LONGDATA time relative to the start time.

parent 46c3fd9a
......@@ -300,7 +300,6 @@ static void handle_regular_data(struct midi_src *src, unsigned char value, UINT
if (to_send)
{
src->incLen = 0;
time -= src->startTime;
MIDI_NotifyClient(src - MidiInDev, MIM_DATA, to_send, time);
}
}
......@@ -321,6 +320,8 @@ static void midReceiveChar(WORD wDevID, unsigned char value, DWORD dwTime)
return;
}
dwTime -= MidiInDev[wDevID].startTime;
if (value == 0xf0 || MidiInDev[wDevID].state & 2) /* system exclusive */
handle_sysex_data(MidiInDev + wDevID, value, dwTime);
else
......
Markdown is supported
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