From d9126eeb2c9e5b4d5d00027cd70aef0ae8900602 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 9 Feb 2011 22:54:12 -0800 Subject: Finalize the loop points extension as AL_SOFT_loop_points --- OpenAL32/Include/alMain.h | 5 ----- OpenAL32/alBuffer.c | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'OpenAL32') 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 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; -- cgit v1.2.3