diff options
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
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; |