aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-06 09:23:53 -0700
committerChris Robinson <[email protected]>2013-10-06 09:33:02 -0700
commit8448b94c0bf3f0ddbd040b25a68ff0ca2dcc37bd (patch)
tree0486774d9f9803f17d374fa43e97b008002598cd
parent9ee3d01f6ed5748ef88a4b5992cd6be48afaf3b8 (diff)
Rename Filter param member to LpFilter
-rw-r--r--Alc/ALu.c8
-rw-r--r--Alc/mixer.c4
-rw-r--r--OpenAL32/Include/alSource.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 50a21755..8274f265 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -449,7 +449,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
ALfloat gain = maxf(0.01f, DryGainHF);
for(c = 0;c < num_channels;c++)
- ALfilterState_setParams(&ALSource->Params.Direct.Filter[c],
+ ALfilterState_setParams(&ALSource->Params.Direct.LpFilter[c],
ALfilterType_HighShelf, gain,
(ALfloat)LOWPASSFREQREF/Frequency, 0.0f);
}
@@ -457,7 +457,7 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
ALfloat gain = maxf(0.01f, WetGainHF[i]);
for(c = 0;c < num_channels;c++)
- ALfilterState_setParams(&ALSource->Params.Send[i].Filter[c],
+ ALfilterState_setParams(&ALSource->Params.Send[i].LpFilter[c],
ALfilterType_HighShelf, gain,
(ALfloat)LOWPASSFREQREF/Frequency, 0.0f);
}
@@ -893,14 +893,14 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
{
ALfloat gain = maxf(0.01f, DryGainHF);
- ALfilterState_setParams(&ALSource->Params.Direct.Filter[0],
+ ALfilterState_setParams(&ALSource->Params.Direct.LpFilter[0],
ALfilterType_HighShelf, gain,
(ALfloat)LOWPASSFREQREF/Frequency, 0.0f);
}
for(i = 0;i < NumSends;i++)
{
ALfloat gain = maxf(0.01f, WetGainHF[i]);
- ALfilterState_setParams(&ALSource->Params.Send[i].Filter[0],
+ ALfilterState_setParams(&ALSource->Params.Send[i].LpFilter[0],
ALfilterType_HighShelf, gain,
(ALfloat)LOWPASSFREQREF/Frequency, 0.0f);
}
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 0dafe874..3039f29f 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -328,7 +328,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
{
DirectParams *directparms = &Source->Params.Direct;
- DoFilter(&directparms->Filter[chan], SrcData, ResampledData,
+ DoFilter(&directparms->LpFilter[chan], SrcData, ResampledData,
DstBufferSize);
Source->Params.DryMix(directparms, SrcData, chan, OutPos,
SamplesToDo, DstBufferSize);
@@ -340,7 +340,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo)
if(!sendparms->Slot)
continue;
- DoFilter(&sendparms->Filter[chan], SrcData, ResampledData,
+ DoFilter(&sendparms->LpFilter[chan], SrcData, ResampledData,
DstBufferSize);
Source->Params.WetMix(sendparms, SrcData, OutPos,
SamplesToDo, DstBufferSize);
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index e049d987..03da250f 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -62,7 +62,7 @@ typedef struct DirectParams {
* target (eg. FrontLeft). Not used with HRTF. */
ALfloat Gains[MAX_INPUT_CHANNELS][MaxChannels];
- ALfilterState Filter[MAX_INPUT_CHANNELS];
+ ALfilterState LpFilter[MAX_INPUT_CHANNELS];
} DirectParams;
typedef struct SendParams {
@@ -72,7 +72,7 @@ typedef struct SendParams {
* output buffer. */
ALfloat Gain;
- ALfilterState Filter[MAX_INPUT_CHANNELS];
+ ALfilterState LpFilter[MAX_INPUT_CHANNELS];
} SendParams;