Constify and reorder a couple device fields
This commit is contained in:
parent
7d821551ac
commit
c3f370fa41
@ -667,7 +667,7 @@ struct ALCdevice_struct {
|
|||||||
RefCount ref{1u};
|
RefCount ref{1u};
|
||||||
|
|
||||||
std::atomic<ALenum> Connected{AL_TRUE};
|
std::atomic<ALenum> Connected{AL_TRUE};
|
||||||
DeviceType Type{};
|
const DeviceType Type{};
|
||||||
|
|
||||||
ALuint Frequency{};
|
ALuint Frequency{};
|
||||||
ALuint UpdateSize{};
|
ALuint UpdateSize{};
|
||||||
@ -705,16 +705,16 @@ struct ALCdevice_struct {
|
|||||||
ALsizei NumAuxSends{};
|
ALsizei NumAuxSends{};
|
||||||
|
|
||||||
// Map of Buffers for this device
|
// Map of Buffers for this device
|
||||||
al::vector<BufferSubList> BufferList;
|
|
||||||
std::mutex BufferLock;
|
std::mutex BufferLock;
|
||||||
|
al::vector<BufferSubList> BufferList;
|
||||||
|
|
||||||
// Map of Effects for this device
|
// Map of Effects for this device
|
||||||
al::vector<EffectSubList> EffectList;
|
|
||||||
std::mutex EffectLock;
|
std::mutex EffectLock;
|
||||||
|
al::vector<EffectSubList> EffectList;
|
||||||
|
|
||||||
// Map of Filters for this device
|
// Map of Filters for this device
|
||||||
al::vector<FilterSubList> FilterList;
|
|
||||||
std::mutex FilterLock;
|
std::mutex FilterLock;
|
||||||
|
al::vector<FilterSubList> FilterList;
|
||||||
|
|
||||||
/* Rendering mode. */
|
/* Rendering mode. */
|
||||||
RenderMode mRenderMode{NormalRender};
|
RenderMode mRenderMode{NormalRender};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user