commit | ef6f6ae5e4c96622286b563658d5cd62a6cf1197 | [log] [tgz] |
---|---|---|
author | rtoy <rtoy@chromium.org> | Sat Feb 27 02:11:17 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Feb 27 02:12:56 2016 |
tree | e83fb39db0118a65b2bb7ef57121c7ba8aa68da9 | |
parent | 455d762d883dae25439ca74d67bd84c297a6e135 [diff] |
Don't clip FFT output values to minDecibels. If the (linear) FFT value is zero, the dB value was set to analyser.minDecibels. The spec doesn't require this and it makes more sense to return the expected -Infinity instead. BUG=588853 TEST=realtimeanalyser-zero.html Review URL: https://codereview.chromium.org/1729783002 Cr-Commit-Position: refs/heads/master@{#378081}