diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alFilter.h | 2 | ||||
-rw-r--r-- | OpenAL32/Include/alSource.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alFilter.h b/OpenAL32/Include/alFilter.h index 413f2a12..40fff4fd 100644 --- a/OpenAL32/Include/alFilter.h +++ b/OpenAL32/Include/alFilter.h @@ -9,8 +9,8 @@ extern "C" { #endif typedef struct { - ALfloat history[OUTPUTCHANNELS*2]; ALfloat coeff; + ALfloat history[0]; } FILTER; #define AL_FILTER_TYPE 0x8001 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; |