Commit 072714f9 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Allow stream time to go negative in sound renderer.

parent 97215773
......@@ -154,13 +154,13 @@ static HRESULT DSoundRender_GetWritePos(DSoundRenderImpl *This, DWORD *ret_write
IReferenceClock_GetTime(This->filter.pClock, &cur);
cur -= This->filter.rtStreamStart;
} else
cur = -1;
write_at = -1;
if (writepos == min_writepos)
max_lag = 0;
*skip = 0;
if (cur < 0 || write_at < 0) {
if (write_at < 0) {
*ret_writepos = writepos;
goto end;
}
......
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