aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h8
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};