From cb9fb3121499b02efd7ce513ea95173a3ce64f4c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 27 Jan 2018 19:40:47 -0800 Subject: Store filters in an array of lists --- OpenAL32/Include/alMain.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 8908d93f..d21ec3b0 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -166,6 +166,7 @@ struct Compressor; struct ALCbackend; struct ALbuffer; struct ALeffect; +struct ALfilter; struct ALsource; struct ALcontextProps; struct ALlistenerProps; @@ -388,6 +389,12 @@ typedef struct EffectSubList { } EffectSubList; TYPEDEF_VECTOR(EffectSubList, vector_EffectSubList) +typedef struct FilterSubList { + ALuint64 FreeMask; + struct ALfilter *Filters; /* 64 */ +} FilterSubList; +TYPEDEF_VECTOR(FilterSubList, vector_FilterSubList) + typedef struct SourceSubList { ALuint64 FreeMask; struct ALsource *Sources; /* 64 */ @@ -496,7 +503,8 @@ struct ALCdevice_struct almtx_t EffectLock; // Map of Filters for this device - UIntMap FilterMap; + vector_FilterSubList FilterList; + almtx_t FilterLock; /* HRTF state and info */ struct DirectHrtfState *Hrtf; -- cgit v1.2.3