aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-11-24 10:01:50 -0800
committerChris Robinson <[email protected]>2010-11-24 10:01:50 -0800
commit6ab22e7cbbe7a1b24653b3e4677d01247a7030c2 (patch)
tree461a1edb263edc1e584d3c6120b4b47a32d852ec /OpenAL32
parentbb13f7f23416bc2d12c2ac9ee7ab143aef01e970 (diff)
Reorder some stored source params
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alSource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 6d01c9fd..40673c00 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -84,17 +84,17 @@ typedef struct ALsource
// Current target parameters used for mixing
ALboolean NeedsUpdate;
struct {
- ALfloat DryGains[OUTPUTCHANNELS];
- ALfloat WetGains[MAX_SENDS];
ALint Step;
+ ALfloat DryGains[OUTPUTCHANNELS];
+ FILTER iirFilter;
+ ALfloat history[OUTPUTCHANNELS*2];
+
struct {
+ ALfloat WetGain;
FILTER iirFilter;
ALfloat history[OUTPUTCHANNELS];
} Send[MAX_SENDS];
-
- FILTER iirFilter;
- ALfloat history[OUTPUTCHANNELS*2];
} Params;
ALvoid (*Update)(struct ALsource *self, const ALCcontext *context);