diff options
author | Chris Robinson <[email protected]> | 2018-12-27 10:25:09 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-27 10:25:09 -0800 |
commit | c3f370fa413943c03e08f69101d964d4dde05d2a (patch) | |
tree | d0afdde3c80892773e5d0175729fcf6dfce1be56 /OpenAL32/Include/alMain.h | |
parent | 7d821551ac32c6775d1f02a4631bd050aabcc254 (diff) |
Constify and reorder a couple device fields
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index bca4c49e..e5ad21ef 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -667,7 +667,7 @@ struct ALCdevice_struct { RefCount ref{1u}; std::atomic<ALenum> Connected{AL_TRUE}; - DeviceType Type{}; + const DeviceType Type{}; ALuint Frequency{}; ALuint UpdateSize{}; @@ -705,16 +705,16 @@ struct ALCdevice_struct { ALsizei NumAuxSends{}; // Map of Buffers for this device - al::vector<BufferSubList> BufferList; std::mutex BufferLock; + al::vector<BufferSubList> BufferList; // Map of Effects for this device - al::vector<EffectSubList> EffectList; std::mutex EffectLock; + al::vector<EffectSubList> EffectList; // Map of Filters for this device - al::vector<FilterSubList> FilterList; std::mutex FilterLock; + al::vector<FilterSubList> FilterList; /* Rendering mode. */ RenderMode mRenderMode{NormalRender}; |