aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-31 00:33:33 -0700
committerChris Robinson <[email protected]>2011-08-31 00:33:33 -0700
commitab0b5d98902665603384f7744dd759cd33db007f (patch)
treea0cb2055639f38426a87f92a1efac0ca73282510 /OpenAL32/Include
parent23f576360c3abc6e4ce0d27c2361715e7169baeb (diff)
Hold the context lock only as needed when handling the listener
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alListener.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index 467193e3..2bda3197 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -13,8 +13,8 @@ typedef struct ALlistener_struct
ALfloat Velocity[3];
ALfloat Forward[3];
ALfloat Up[3];
- ALfloat Gain;
- ALfloat MetersPerUnit;
+ volatile ALfloat Gain;
+ volatile ALfloat MetersPerUnit;
} ALlistener;
#ifdef __cplusplus