PaulStoffregen / Audio

Teensy Audio Library
http://www.pjrc.com/teensy/td_libs_Audio.html
1.07k stars 398 forks source link

Fix rounding constants from 0x8000000 to 0x80000000 #426

Open MarkTillotson opened 2 years ago

MarkTillotson commented 2 years ago

Correct the 64 to 32 bit rounding for the xxxx_rshift32_rounded primitives. As mentioned in https://forum.pjrc.com/threads/68660-Biquad-results-using-multiply_accumulate_32x32_rshift32_rounded