aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r--OpenAL32/alBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 100a60c5..2d368987 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -1251,10 +1251,10 @@ static ALboolean SanitizeAlignment(enum UserFmtType type, ALsizei *align)
}
if(type == UserFmtMSADPCM)
{
- /* MSADPCM block alignment must be a multiple of 8. */
+ /* MSADPCM block alignment must be a multiple of 2. */
/* FIXME: Too strict? Might only require align*channels to be a
* multiple of 2. */
- return ((*align)&7) == 0;
+ return ((*align)&1) == 0;
}
return AL_TRUE;