From 54b49594e61373613630d01c8a84c878681dee34 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 5 Jan 2020 17:12:48 -0800 Subject: Simplify post-mix HRTF gain storage --- alc/mixer/mixer_c.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/mixer/mixer_c.cpp') diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp index 64d12ef7..c086dd8d 100644 --- a/alc/mixer/mixer_c.cpp +++ b/alc/mixer/mixer_c.cpp @@ -137,12 +137,12 @@ const ALfloat *Resample_(const InterpState *state, const ALfl template<> void MixHrtf_(const float *InSamples, float2 *AccumSamples, const ALuint IrSize, - MixHrtfFilter *hrtfparams, const size_t BufferSize) + const MixHrtfFilter *hrtfparams, const size_t BufferSize) { MixHrtfBase(InSamples, AccumSamples, IrSize, hrtfparams, BufferSize); } template<> void MixHrtfBlend_(const float *InSamples, float2 *AccumSamples, const ALuint IrSize, - const HrtfFilter *oldparams, MixHrtfFilter *newparams, const size_t BufferSize) + const HrtfFilter *oldparams, const MixHrtfFilter *newparams, const size_t BufferSize) { MixHrtfBlendBase(InSamples, AccumSamples, IrSize, oldparams, newparams, BufferSize); -- cgit v1.2.3