diff options
author | Chris Robinson <[email protected]> | 2016-05-09 11:26:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-05-09 11:26:49 -0700 |
commit | c2611f10ab5bdffe1aa0be4d4ec61662d868fde5 (patch) | |
tree | 01cddca6255b298cc2f75110f2acbc920acbe393 /OpenAL32/Include/alListener.h | |
parent | dcdeb8d1a693125cdcc120beefdfea26ab1b94e8 (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.h | 6 |
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; |