summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-30 01:00:37 -0800
committerChris Robinson <[email protected]>2010-11-30 01:00:37 -0800
commit06fa030260a96cc5f58b7a0cac6d656b32089197 (patch)
tree48496c473f6882a67a6333fc706874a5c47fd4cd
parent018f9fc27841aa1922797a22d9bcc7aabe81e9f1 (diff)
Rename the IMA4 block decoder function
-rw-r--r--OpenAL32/alBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index bad6f85d..4992cc85 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -799,7 +799,7 @@ AL_API void AL_APIENTRY alGetBufferiv(ALuint buffer, ALenum eParam, ALint* plVal
}
-static void ConvertIMA4Block(ALshort *dst, const ALubyte *IMAData, ALint numchans)
+static void DecodeIMA4Block(ALshort *dst, const ALubyte *IMAData, ALint numchans)
{
ALint Sample[2],Index[2];
ALuint IMACode[2];
@@ -1153,7 +1153,7 @@ static void Convert_##T##_IMA4(T *dst, const ALubyte *src, ALuint numchans, \
ALuint i, j; \
for(i = 0;i < numblocks;i++) \
{ \
- ConvertIMA4Block(tmp, src, numchans); \
+ DecodeIMA4Block(tmp, src, numchans); \
src += 36*numchans; \
for(j = 0;j < 65*numchans;j++) \
*(dst++) = Conv_##T##_ALshort(tmp[j]); \