diff options
author | Chris Robinson <[email protected]> | 2017-05-21 03:47:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-21 03:47:52 -0700 |
commit | 49e5c535915f52b7888a884f4ed8925682336b28 (patch) | |
tree | c43b3af970b86b7cb5840004493cbb9045e629b7 /Alc/mixer.c | |
parent | 95ea3fdd05d55020c056e549c74def62c508e761 (diff) |
Reduce the amount of variables that hold the same value
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
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) |