Skip to content
Snippets Groups Projects
Commit 8cfea6e2 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard
Browse files

Make internal buffers size multiple of 4.

parent c0504ca5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment