From 06fa030260a96cc5f58b7a0cac6d656b32089197 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 30 Nov 2010 01:00:37 -0800 Subject: Rename the IMA4 block decoder function --- 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 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]); \ -- cgit v1.2.3