Commit 336b0ef1 authored by Erich Hoover's avatar Erich Hoover Committed by Alexandre Julliard

winealsa.drv: Fix DSOUND_BufPtrDiff in Kane's Wrath with new audio pathway.

parent 03683b25
...@@ -247,6 +247,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi) ...@@ -247,6 +247,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
return DSERR_OUTOFMEMORY; return DSERR_OUTOFMEMORY;
snd_pcm_format_set_silence(format, buf, pdbi->mmap_buflen_frames); snd_pcm_format_set_silence(format, buf, pdbi->mmap_buflen_frames);
pdbi->mmap_pos = 0;
} }
else 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