commit | 0ebba4b4d91663d02bd759bdb65ae528e3e78dc7 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri Nov 17 16:02:19 2017 -0800 |
committer | Andy Hung <hunga@google.com> | Tue Nov 28 12:41:40 2017 -0800 |
tree | 700834e18b8553ae0bb2e2d4f1235e1724cc8713 | |
parent | 62c3d9faa33b2dfc9cc1a6b6c501190005593715 [diff] |
Update audio primitives for floating point conversion speed Floats now round-half-up instead of round-half-to-even. This returns 25% gain in performance for slightly worse rounding. Also a cosmetic change to convert an if to an add with boolean. Bug: 69479669 Test: primitives_tests Change-Id: I15dc17f5732e41594c23831622d0c1642881a711