Commit 8cfea6e2 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Make internal buffers size multiple of 4.

parent c0504ca5
......@@ -186,7 +186,7 @@ struct IDirectSound3DBufferImpl
/* #define USE_DSOUND3D 1 */
#define DSOUND_FRAGLEN (primarybuf->wfx.nAvgBytesPerSec >> 4)
#define DSOUND_FRAGLEN ((primarybuf->wfx.nAvgBytesPerSec >> 4) & ~3)
#define DSOUND_FREQSHIFT (14)
static int audiofd = -1;
......
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