From 2e9ca89dd324f1f0b980b0a14c5650e87fc2f4fb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 27 Apr 2011 21:05:46 -0700 Subject: Reorder some cases --- OpenAL32/alBuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32') diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index a1af0858..5d2e6328 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -1949,10 +1949,10 @@ ALuint BytesFromUserFmt(enum UserFmtType type) case UserFmtUInt: return sizeof(ALuint); case UserFmtFloat: return sizeof(ALfloat); case UserFmtDouble: return sizeof(ALdouble); - case UserFmtMulaw: return sizeof(ALubyte); - case UserFmtIMA4: break; /* not handled here */ case UserFmtByte3: return sizeof(ALbyte3); case UserFmtUByte3: return sizeof(ALubyte3); + case UserFmtMulaw: return sizeof(ALubyte); + case UserFmtIMA4: break; /* not handled here */ } return 0; } -- cgit v1.2.3