aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-01-15 16:22:39 -0800
committerChris Robinson <[email protected]>2008-01-15 16:22:39 -0800
commitb95fcf5da1bb9b37f26c5f42864074790a48dc4f (patch)
tree9dd8ecbbc152ebd14722ee075963aee4a9ce8cff /OpenAL32/Include
parent707e5968115f99afd6efe6b0f61d8bbf0baa7a94 (diff)
Store effect slots in the context
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alAuxEffectSlot.h2
-rw-r--r--OpenAL32/Include/alMain.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenAL32/Include/alAuxEffectSlot.h b/OpenAL32/Include/alAuxEffectSlot.h
index 5d389193..dba2c207 100644
--- a/OpenAL32/Include/alAuxEffectSlot.h
+++ b/OpenAL32/Include/alAuxEffectSlot.h
@@ -41,7 +41,7 @@ AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotiv(ALuint effectslot, ALenum p
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotf(ALuint effectslot, ALenum param, ALfloat *pflValue);
AL_API ALvoid AL_APIENTRY alGetAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, ALfloat *pflValues);
-ALvoid ReleaseALAuxiliaryEffectSlots(ALvoid);
+ALvoid ReleaseALAuxiliaryEffectSlots(ALCcontext *Context);
#ifdef __cplusplus
}
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 67c70016..7cbb8773 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -198,6 +198,9 @@ struct ALCcontext_struct
struct ALsource *Source;
ALuint SourceCount;
+ struct ALeffectslot *AuxiliaryEffectSlot;
+ ALuint AuxiliaryEffectSlotCount;
+
ALenum LastError;
ALboolean InUse;