aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-13 11:29:32 -0800
committerChris Robinson <[email protected]>2017-02-13 11:29:32 -0800
commit0324712540f88d18f1fa8f18f7a72da06af00d75 (patch)
treedf0e7b260f1833f3e5b42503225d2b6978ccf181 /Alc/ALu.c
parent841d0bb893e19dbe6f95bd80a3ac50997f9e8f0d (diff)
Put BsincState in a generic union
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 29097c2a..42f229a2 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -433,7 +433,7 @@ static void CalcNonAttnSourceParams(ALvoice *voice, const struct ALsourceProps *
voice->Step = MAX_PITCH<<FRACTIONBITS;
else
voice->Step = maxi(fastf2i(Pitch*FRACTIONONE + 0.5f), 1);
- BsincPrepare(voice->Step, &voice->SincState);
+ BsincPrepare(voice->Step, &voice->ResampleState.bsinc);
/* Calculate gains */
DryGain = clampf(SourceVolume, MinVolume, MaxVolume);
@@ -1115,7 +1115,7 @@ static void CalcAttnSourceParams(ALvoice *voice, const struct ALsourceProps *pro
voice->Step = MAX_PITCH<<FRACTIONBITS;
else
voice->Step = maxi(fastf2i(Pitch*FRACTIONONE + 0.5f), 1);
- BsincPrepare(voice->Step, &voice->SincState);
+ BsincPrepare(voice->Step, &voice->ResampleState.bsinc);
if(Device->Render_Mode == HrtfRender)
{