aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alListener.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-05-09 11:26:49 -0700
committerChris Robinson <[email protected]>2016-05-09 11:26:49 -0700
commitc2611f10ab5bdffe1aa0be4d4ec61662d868fde5 (patch)
tree01cddca6255b298cc2f75110f2acbc920acbe393 /OpenAL32/Include/alListener.h
parentdcdeb8d1a693125cdcc120beefdfea26ab1b94e8 (diff)
Store more "active" listener and context properties separately
This helps ensure async listener/context property changes affect all playing sources at the same time.
Diffstat (limited to 'OpenAL32/Include/alListener.h')
-rw-r--r--OpenAL32/Include/alListener.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index c9bd9be0..f28561fa 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -19,6 +19,12 @@ typedef struct ALlistener {
struct {
aluMatrixd Matrix;
aluVector Velocity;
+
+ ALfloat Gain;
+ ALfloat MetersPerUnit;
+
+ ALfloat DopplerFactor;
+ ALfloat SpeedOfSound;
} Params;
} ALlistener;