aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-06 21:42:03 -0800
committerChris Robinson <[email protected]>2014-03-06 21:42:03 -0800
commit2e279684d726f597b4040e17381784e3dbc890ea (patch)
tree12ffb9bf5999a07816b991f3796968e1e232d358 /OpenAL32
parent7657fbb2966549d23154fd37abfae578703a28f4 (diff)
Only require MSADPCM block alignment to be a multiple of 2
Diffstat (limited to 'OpenAL32')
-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;