diff options
Diffstat (limited to 'alc/alcontext.h')
-rw-r--r-- | alc/alcontext.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/alc/alcontext.h b/alc/alcontext.h index b1b41e76..075e6a55 100644 --- a/alc/alcontext.h +++ b/alc/alcontext.h @@ -35,6 +35,8 @@ struct Voice; struct VoiceChange; struct VoicePropsItem; +using uint = unsigned int; + enum class DistanceModel : unsigned char { Disable, @@ -108,6 +110,7 @@ struct ContextBase { */ RefCount mUpdateCount{0u}; std::atomic<bool> mHoldUpdates{false}; + std::atomic<bool> mStopVoicesOnDisconnect{true}; float mGainBoost{1.0f}; |