Commit 3cc871b0 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

wineoss.drv: Add period to latency calculation.

parent 65381d1c
......@@ -1055,6 +1055,10 @@ static HRESULT WINAPI AudioClient_GetStreamLatency(IAudioClient *iface,
}else
*latency = 10000; /* OSS doesn't provide input latency */
/* pretend we process audio in Period chunks, so max latency includes
* the period time */
*latency += DefaultPeriod;
LeaveCriticalSection(&This->lock);
return S_OK;
......
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