aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-04-27 21:05:46 -0700
committerChris Robinson <[email protected]>2011-04-27 21:05:46 -0700
commit2e9ca89dd324f1f0b980b0a14c5650e87fc2f4fb (patch)
tree013e761d031264d2e20d2b202ec10c5b89ceb843 /OpenAL32
parent8586aeabe8df1049ffe15612ee5c1e98a4c09313 (diff)
Reorder some cases
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 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;
}