From e8c9da012419f4fecd1a81463efd2d1f54d20b7f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 10 Sep 2011 02:43:07 -0700 Subject: Add some reference counting to the device --- OpenAL32/Include/alMain.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 5775e19b..4e31579f 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -513,6 +513,8 @@ extern const struct EffectList { struct ALCdevice_struct { + volatile RefCount ref; + ALCboolean Connected; ALboolean IsCaptureDevice; ALboolean IsLoopbackDevice; -- cgit v1.2.3