Skip to content

Commit

Permalink
whoops, stupid last minute change
Browse files Browse the repository at this point in the history
  • Loading branch information
toxieainc committed Jan 11, 2024
1 parent a8d61b5 commit 505d906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/libsamplerate/samplerate.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ src_int_to_float_array (const int * const __restrict in, float * const __restric
#ifdef RESAMPLER_SSE_OPT
{
__m128 tmp;
out[i] = _mm_cvtss_f32(_mm_mul_ss(_mm_cvt_si2ss(tmp,in[i]>>7),_mm_set_ss((float)(1.0 / (1.0 * (0x80000000>>7)))));
out[i] = _mm_cvtss_f32(_mm_mul_ss(_mm_cvt_si2ss(tmp,in[i]>>7),_mm_set_ss((float)(1.0 / (1.0 * (0x80000000>>7))))));
}
#else
out[i] = (float)(in[i]>>7) * (float)(1.0 / (1.0 * (0x80000000>>7))); // (float)(in[i] / (1.0 * (0x80000000>>7)));
Expand Down

0 comments on commit 505d906

Please sign in to comment.