aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-21 03:47:52 -0700
committerChris Robinson <[email protected]>2017-05-21 03:47:52 -0700
commit49e5c535915f52b7888a884f4ed8925682336b28 (patch)
treec43b3af970b86b7cb5840004493cbb9045e629b7 /Alc/mixer.c
parent95ea3fdd05d55020c056e549c74def62c508e761 (diff)
Reduce the amount of variables that hold the same value
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 71714c70..56d65207 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -457,7 +457,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei
samples = DoFilters(
&parms->LowPass, &parms->HighPass, Device->FilteredData,
- ResampledData, DstBufferSize, parms->FilterType
+ ResampledData, DstBufferSize, voice->Direct.FilterType
);
if(!(voice->Flags&VOICE_HAS_HRTF))
{
@@ -598,7 +598,7 @@ ALboolean MixSource(ALvoice *voice, ALsource *Source, ALCdevice *Device, ALsizei
samples = DoFilters(
&parms->LowPass, &parms->HighPass, Device->FilteredData,
- ResampledData, DstBufferSize, parms->FilterType
+ ResampledData, DstBufferSize, voice->Send[send].FilterType
);
if(!Counter)