aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-02 04:25:08 -0700
committerChris Robinson <[email protected]>2017-05-02 04:25:08 -0700
commit1e5334176eb2bd9bae367218570a5fd24597f827 (patch)
tree42e0fc695660fbdd3969ed4d8723845ce63b5a9b /Alc/ALu.c
parent2f8d597f4ef3bcdfdad10edac2e9f74ddf3e23ff (diff)
Rename VOICE_IS_HRTF to VOICE_HAS_HRTF
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c8
1 files changed, 4 insertions, 4 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
{