aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-06 05:07:36 -0700
committerChris Robinson <[email protected]>2011-07-06 05:07:36 -0700
commit5cb4129bc7ba0e5fe3638eb043459b3329175fae (patch)
treef0a487559e4446b1d4cb991fd018366fb99df852 /OpenAL32/Include
parentbed264ad776f9e27390394a8e62a4e0a9b39b382 (diff)
Use a per-device lock instead of a global one
Diffstat (limited to 'OpenAL32/Include')
-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 f58da036..d04fc449 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -373,6 +373,8 @@ struct ALCdevice_struct
ALboolean IsCaptureDevice;
ALboolean IsLoopbackDevice;
+ CRITICAL_SECTION Mutex;
+
ALuint Frequency;
ALuint UpdateSize;
ALuint NumUpdates;