commit | 8cfea6e2926113e2bc5ff6cbe8829a64abf8e67f | [log] [tgz] |
---|---|---|
author | Eric Pouech <Eric.Pouech@wanadoo.fr> | Wed May 10 21:39:24 2000 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed May 10 21:39:24 2000 +0000 |
tree | 081b55f377cdf4af13b931509f601b9d2457e4d5 | |
parent | c0504ca5f6e684a2508bf4774339b091b72b6631 [diff] |
Make internal buffers size multiple of 4.
diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index 532a682..a8def0f 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c
@@ -186,7 +186,7 @@ /* #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;