Zero-pad HRTF response if needed
The HRTF response size can some times be smaller than the FFT size. This can happen if the FFT size has a lower limit, such as for PFFFT which clamps the size to the lower bound. To account for this, create a new HRTF response that is zero-padded to the FFT size. Manually tested against repro cases from the bugs; ASAN issue no longer reproduces. Bug: 1032000, 1041411 Change-Id: Ic2136a92a6e1bf4f2f78f434b065c21dc1b72b5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003571Reviewed-by:Hongchan Choi <hongchan@chromium.org> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#732837}
Showing
Please register or sign in to comment