aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r--OpenAL32/Include/alSource.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 73b02609..42a1b915 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -7,6 +7,7 @@
#define MAX_SENDS 1
#include "alFilter.h"
+#include "alu.h"
#include "AL/al.h"
#define AL_DIRECT_FILTER 0x20005
@@ -94,6 +95,12 @@ typedef struct ALsource
// Source Type (Static, Streaming, or Undetermined)
ALint lSourceType;
+ // Current gains, which are ramped while mixed
+ ALfloat DryGains[OUTPUTCHANNELS];
+ ALfloat WetGains[OUTPUTCHANNELS];
+ ALfloat DryGainHF;
+ ALfloat WetGainHF;
+
struct ALsource *next;
} ALsource;