aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-18 23:02:31 -0800
committerChris Robinson <[email protected]>2018-11-18 23:02:31 -0800
commite0d0faaa634b5e3f14f0a3c477aba4dbf78683fb (patch)
tree19c7225703e7e5f320f5254673b959d10b888b04 /OpenAL32/Include/alMain.h
parent362979cefb413e04dd4698d282779436e0a86bbc (diff)
Use a normal vector for filter sublists
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 8a85f141..226d39a9 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -519,10 +519,9 @@ typedef struct EffectSubList {
} EffectSubList;
typedef struct FilterSubList {
- ALuint64 FreeMask;
- struct ALfilter *Filters; /* 64 */
+ ALuint64 FreeMask{0u};
+ struct ALfilter *Filters{nullptr}; /* 64 */
} FilterSubList;
-TYPEDEF_VECTOR(FilterSubList, vector_FilterSubList)
typedef struct EnumeratedHrtf {
@@ -612,7 +611,7 @@ struct ALCdevice_struct {
almtx_t EffectLock;
// Map of Filters for this device
- vector_FilterSubList FilterList{};
+ al::vector<FilterSubList> FilterList;
almtx_t FilterLock;
POSTPROCESS PostProcess{};