CRAS: Make knee_expf and decibels_to_linear share the same code.
Remove similar code and make it slightly more accurate.
BUG=none
TEST=Run drc_test before and after change. Compare with the accurate
result when SLOW_KNEE_EXP is defined.
Change-Id: I041a9ed886b1da346125f0f3c101653cb2734169
Reviewed-on: https://gerrit.chromium.org/gerrit/62086
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
2 files changed