Skip to content
Snippets Groups Projects
Commit 3cc871b0 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard
Browse files

wineoss.drv: Add period to latency calculation.

parent 65381d1c
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment