ref: 928b34e89561e8d752027693ef9b26882f607523
parent: 1b7291d52c8f8c5b8dca0faef6c61c5e0c84bec7
author: Adrian Grange <agrange@google.com>
date: Mon May 5 05:39:24 EDT 2014
Fix rounding in ARNR calculation The rounding of the ARNR filter output prior to normalization by the filter strength was incorrect when strength = 0. In this case 1 << (strength - 1) would not create the required rounding of 0, rather it would outrange. This patch fixes this issue. Change-Id: I771809ba34d6052b17d34c870ea11ff67b418dab