diff options
author | Chris Robinson <[email protected]> | 2011-02-09 22:54:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-02-09 22:54:12 -0800 |
commit | d9126eeb2c9e5b4d5d00027cd70aef0ae8900602 (patch) | |
tree | f7ab7ec7612102dc12c2055f3915807a23c37487 /OpenAL32 | |
parent | d8048e136f48eb89795857da917167eaa7dcbe06 (diff) |
Finalize the loop points extension as AL_SOFT_loop_points
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 5 | ||||
-rw-r--r-- | OpenAL32/alBuffer.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 310e0d92..02153a86 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -69,11 +69,6 @@ AL_API ALvoid AL_APIENTRY alUnmapDatabufferEXT(ALuint uiBuffer); #endif #endif -#ifndef AL_EXT_loop_points -#define AL_EXT_loop_points 1 -#define AL_LOOP_POINTS 0x2015 -#endif - #if defined(HAVE_STDINT_H) #include <stdint.h> diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index f8f30685..cb5a9288 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -607,7 +607,7 @@ AL_API void AL_APIENTRY alBufferiv(ALuint buffer, ALenum eParam, const ALint* pl { switch(eParam) { - case AL_LOOP_POINTS: + case AL_LOOP_POINTS_SOFT: if(ALBuf->refcount > 0) alSetError(pContext, AL_INVALID_OPERATION); else if(plValues[0] < 0 || plValues[1] < 0 || @@ -814,7 +814,7 @@ AL_API void AL_APIENTRY alGetBufferiv(ALuint buffer, ALenum eParam, ALint* plVal alGetBufferi(buffer, eParam, plValues); break; - case AL_LOOP_POINTS: + case AL_LOOP_POINTS_SOFT: plValues[0] = ALBuf->LoopStart; plValues[1] = ALBuf->LoopEnd; break; |