winealsa.drv: Fix DSOUND_BufPtrDiff in Kane's Wrath with new audio pathway.
This commit is contained in:
parent
03683b2530
commit
336b0ef18f
|
@ -247,6 +247,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
|
|||
return DSERR_OUTOFMEMORY;
|
||||
|
||||
snd_pcm_format_set_silence(format, buf, pdbi->mmap_buflen_frames);
|
||||
pdbi->mmap_pos = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue