Use EMAC rounding mode in EQ coef calc for better precision.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8655 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
03410664bc
commit
f16a9f3b31
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ void dsp_eq_update_data(bool enabled)
|
|||
/* set emac unit for dsp processing, and save old macsr, we're running in
|
||||
codec thread context at this point, so can't clobber it */
|
||||
unsigned long old_macsr = coldfire_get_macsr();
|
||||
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE);
|
||||
coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE | EMAC_ROUND);
|
||||
#endif
|
||||
|
||||
/* Iterate over each band and update the appropriate filter */
|
||||
|
|
Loading…
Reference in a new issue