summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-03-23 16:11:21 -0700
committerChris Robinson <[email protected]>2014-03-23 16:11:21 -0700
commit52deb557d5466e7dd0b78dceb16f2ad5296bbcd4 (patch)
tree14bf48e2d74ce459fe37bb5feb0b556aa09d174e /OpenAL32/Include
parent83038c0dab0727b76765a8feed5a2c3c23c9915b (diff)
Add gain stepping to the send mixers
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alu.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 3850875d..cfc54acc 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -87,7 +87,14 @@ typedef struct SendParams {
/* Gain control, which applies to all input channels to a single (mono)
* output buffer. */
- ALfloat Gain;
+ struct {
+ ALfloat Current;
+ ALfloat Step;
+ ALfloat Target;
+ } Gain;
+
+ ALboolean Moving;
+ ALuint Counter;
ALfilterState LpFilter[MAX_INPUT_CHANNELS];
} SendParams;