From c2611f10ab5bdffe1aa0be4d4ec61662d868fde5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 9 May 2016 11:26:49 -0700 Subject: Store more "active" listener and context properties separately This helps ensure async listener/context property changes affect all playing sources at the same time. --- OpenAL32/Include/alListener.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenAL32/Include/alListener.h') 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; -- cgit v1.2.3