aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-31 02:18:16 -0700
committerChris Robinson <[email protected]>2011-08-31 02:18:16 -0700
commitb28f48c1bdf343ecc0a3e1dbed958b13fbba32e7 (patch)
tree36949865561b5f06b0d39569e47b807d94e9931d /OpenAL32/Include
parent49e2fa428fced4d2ab1e390ad3397dd9e11df960 (diff)
Store the filter gains directly in the source instead of duplicate filter objects
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alSource.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 5f2ba610..920de683 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -59,11 +59,13 @@ typedef struct ALsource
ALuint BuffersInQueue; // Number of buffers in queue
ALuint BuffersPlayed; // Number of buffers played on this loop
- ALfilter DirectFilter;
+ ALfloat DirectGain;
+ ALfloat DirectGainHF;
struct {
struct ALeffectslot *Slot;
- ALfilter WetFilter;
+ ALfloat WetGain;
+ ALfloat WetGainHF;
} Send[MAX_SENDS];
ALboolean DryGainHFAuto;