winealsa: Pass the time relative to the start time to the callback.
This is equivalent to commit 01ad503004
in the coreaudio driver.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a9fab273a1
commit
bce11840bd
|
@ -477,7 +477,7 @@ static DWORD midReset(WORD wDevID)
|
|||
MidiInDev[wDevID].lpQueueHdr = lpMidiHdr->lpNext;
|
||||
lpMidiHdr->dwFlags &= ~MHDR_INQUEUE;
|
||||
lpMidiHdr->dwFlags |= MHDR_DONE;
|
||||
MIDI_NotifyClient(wDevID, MIM_LONGDATA, (DWORD_PTR)lpMidiHdr, dwTime);
|
||||
MIDI_NotifyClient(wDevID, MIM_LONGDATA, (DWORD_PTR)lpMidiHdr, dwTime - MidiInDev[wDevID].startTime);
|
||||
}
|
||||
in_buffer_unlock();
|
||||
|
||||
|
|
Loading…
Reference in New Issue