aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c8
-rw-r--r--Alc/mixer.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 01e6bbfa..06c21506 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -522,7 +522,7 @@ static void CalcNonAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *p
break;
}
- voice->Flags &= ~(VOICE_IS_HRTF | VOICE_HAS_NFC);
+ voice->Flags &= ~(VOICE_HAS_HRTF | VOICE_HAS_NFC);
if(isbformat)
{
ALfloat N[3], V[3], U[3];
@@ -682,7 +682,7 @@ static void CalcNonAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *p
}
}
- voice->Flags |= VOICE_IS_HRTF;
+ voice->Flags |= VOICE_HAS_HRTF;
}
else
{
@@ -1098,7 +1098,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *prop
BsincPrepare(voice->Step, &voice->ResampleState.bsinc);
voice->Resampler = SelectResampler(props->Resampler);
- voice->Flags &= ~(VOICE_IS_HRTF | VOICE_HAS_NFC);
+ voice->Flags &= ~(VOICE_HAS_HRTF | VOICE_HAS_NFC);
if(Device->Render_Mode == HrtfRender)
{
/* Full HRTF rendering. Skip the virtual channels and render to the
@@ -1151,7 +1151,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALvoiceProps *prop
voice->Send[i].Params[0].Gains.Target[j] = 0.0f;
}
- voice->Flags |= VOICE_IS_HRTF;
+ voice->Flags |= VOICE_HAS_HRTF;
}
else
{
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 64a8c1e1..b632d6ca 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -445,7 +445,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei
&parms->LowPass, &parms->HighPass, Device->FilteredData,
ResampledData, DstBufferSize, parms->FilterType
);
- if(!(voice->Flags&VOICE_IS_HRTF))
+ if(!(voice->Flags&VOICE_HAS_HRTF))
{
if(!Counter)
memcpy(parms->Gains.Current, parms->Gains.Target,