aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alBuffer.h4
-rw-r--r--OpenAL32/alBuffer.c10
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenAL32/Include/alBuffer.h b/OpenAL32/Include/alBuffer.h
index 44a05915..f47685ce 100644
--- a/OpenAL32/Include/alBuffer.h
+++ b/OpenAL32/Include/alBuffer.h
@@ -24,8 +24,8 @@ enum FmtChannels {
};
-static __inline void DecompFormat(ALenum format, enum FmtType *type,
- enum FmtChannels *order)
+static __inline void DecomposeFormat(ALenum format, enum FmtType *type,
+ enum FmtChannels *order)
{
switch(format)
{
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c
index 2db0b3fd..8f9dcc6e 100644
--- a/OpenAL32/alBuffer.c
+++ b/OpenAL32/alBuffer.c
@@ -352,7 +352,7 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid
ALBuf->LoopStart = 0;
ALBuf->LoopEnd = newsize / NewChannels / NewBytes;
- DecompFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
+ DecomposeFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
ALBuf->OriginalSize = size;
ALBuf->OriginalAlign = OrigBytes * 2;
@@ -402,7 +402,7 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid
ALBuf->LoopStart = 0;
ALBuf->LoopEnd = newsize / Channels / NewBytes;
- DecompFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
+ DecomposeFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
ALBuf->OriginalSize = size;
ALBuf->OriginalAlign = 36 * Channels;
@@ -457,7 +457,7 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid
ALBuf->LoopStart = 0;
ALBuf->LoopEnd = newsize / Channels / NewBytes;
- DecompFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
+ DecomposeFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
ALBuf->OriginalSize = size;
ALBuf->OriginalAlign = 1 * Channels;
@@ -500,7 +500,7 @@ AL_API ALvoid AL_APIENTRY alBufferData(ALuint buffer,ALenum format,const ALvoid
ALBuf->LoopStart = 0;
ALBuf->LoopEnd = newsize / NewChannels / NewBytes;
- DecompFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
+ DecomposeFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
ALBuf->OriginalSize = size;
ALBuf->OriginalAlign = 1 * 2;
@@ -1080,7 +1080,7 @@ static ALenum LoadData(ALbuffer *ALBuf, const ALvoid *data, ALsizei size, ALuint
ALBuf->LoopStart = 0;
ALBuf->LoopEnd = newsize / NewChannels / NewBytes;
- DecompFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
+ DecomposeFormat(NewFormat, &ALBuf->FmtType, &ALBuf->FmtChannels);
ALBuf->OriginalSize = size;
ALBuf->OriginalAlign = OrigBytes * OrigChannels;