From 5cb4129bc7ba0e5fe3638eb043459b3329175fae Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 6 Jul 2011 05:07:36 -0700 Subject: Use a per-device lock instead of a global one --- 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 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; -- cgit v1.2.3