From c3f370fa413943c03e08f69101d964d4dde05d2a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 27 Dec 2018 10:25:09 -0800 Subject: Constify and reorder a couple device fields --- OpenAL32/Include/alMain.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32') 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 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 BufferList; std::mutex BufferLock; + al::vector BufferList; // Map of Effects for this device - al::vector EffectList; std::mutex EffectLock; + al::vector EffectList; // Map of Filters for this device - al::vector FilterList; std::mutex FilterLock; + al::vector FilterList; /* Rendering mode. */ RenderMode mRenderMode{NormalRender}; -- cgit v1.2.3