summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-10 02:43:07 -0700
committerChris Robinson <[email protected]>2011-09-10 02:43:07 -0700
commite8c9da012419f4fecd1a81463efd2d1f54d20b7f (patch)
treef9a59bfd2bb64c4e80b8969801d276d2ffb59f5e /OpenAL32/Include/alMain.h
parent18cf6e3210a2427082c84b58e840565ca246fecb (diff)
Add some reference counting to the device
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h2
1 files changed, 2 insertions, 0 deletions
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;