From 031e8ebf1d326ce9f2a9768e756b7bb819af5c49 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 21 Oct 2014 01:12:22 +0200 Subject: [PATCH] (sinc resampler) Rename sinc variable to _sinc --- audio/resamplers/sinc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/audio/resamplers/sinc.c b/audio/resamplers/sinc.c index a6a569a18d..72a7e5dabf 100644 --- a/audio/resamplers/sinc.c +++ b/audio/resamplers/sinc.c @@ -371,13 +371,13 @@ static void process_sinc(rarch_sinc_resampler_t *resamp, float *out_buffer) #if SINC_COEFF_LERP __m128 deltas = _mm_load_ps(delta_table + i); - __m128 sinc = _mm_add_ps(_mm_load_ps(phase_table + i), + __m128 _sinc = _mm_add_ps(_mm_load_ps(phase_table + i), _mm_mul_ps(deltas, delta)); #else - __m128 sinc = _mm_load_ps(phase_table + i); + __m128 _sinc = _mm_load_ps(phase_table + i); #endif - sum_l = _mm_add_ps(sum_l, _mm_mul_ps(buf_l, sinc)); - sum_r = _mm_add_ps(sum_r, _mm_mul_ps(buf_r, sinc)); + sum_l = _mm_add_ps(sum_l, _mm_mul_ps(buf_l, _sinc)); + sum_r = _mm_add_ps(sum_r, _mm_mul_ps(buf_r, _sinc)); } /* Them annoying shuffles.