diff options
author | Chris Robinson <[email protected]> | 2009-04-16 05:43:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-04-16 05:43:09 -0700 |
commit | 7a7a4844f441a2d269cffdadfd553655a8d3484e (patch) | |
tree | 88b4c2cb05f724ff91154602db53267fec55933d /OpenAL32/Include/alSource.h | |
parent | a2adbb1ab50e788006322264bc41535e5acee116 (diff) |
Make the filter history buffer size flexible
This lets the filter history buffer be as big as needed for a given use, so
that it can have a size large enough for the more demanding cases, but not be
wasteful for lesser-demanding cases, while not incuring the overhead of an
added pointer indirection
Diffstat (limited to 'OpenAL32/Include/alSource.h')
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index 28a85029..2bd7aac2 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -69,6 +69,7 @@ typedef struct ALsource struct ALeffectslot *Slot; ALfilter WetFilter; FILTER iirFilter; + ALfloat history[2]; } Send[MAX_SENDS]; ALboolean DryGainHFAuto; @@ -77,6 +78,7 @@ typedef struct ALsource ALfloat OuterGainHF; FILTER iirFilter; + ALfloat history[OUTPUTCHANNELS*2]; ALfloat AirAbsorptionFactor; |