diff options
author | Chris Robinson <[email protected]> | 2018-11-18 22:31:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-18 22:31:51 -0800 |
commit | 81aed2ea01904c73156ade21faa5f12806685f72 (patch) | |
tree | 7c617a56a1795a1a33169d9dfb2e2c72bd126680 /OpenAL32/Include/alMain.h | |
parent | becbaab2dc4cf39fc3c0f64f352a76aee6d8e26c (diff) |
Use a normal vector for buffer sublists
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index e0d1462b..38c0471b 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -509,10 +509,9 @@ typedef union AmbiConfig { typedef struct BufferSubList { - ALuint64 FreeMask; - struct ALbuffer *Buffers; /* 64 */ + ALuint64 FreeMask{0u}; + struct ALbuffer *Buffers{nullptr}; /* 64 */ } BufferSubList; -TYPEDEF_VECTOR(BufferSubList, vector_BufferSubList) typedef struct EffectSubList { ALuint64 FreeMask; @@ -606,7 +605,7 @@ struct ALCdevice_struct { ALsizei NumAuxSends{}; // Map of Buffers for this device - vector_BufferSubList BufferList{}; + al::vector<BufferSubList> BufferList; almtx_t BufferLock; // Map of Effects for this device |