diff options
author | wm4 <wm4@nowhere> | 2014-09-19 21:16:42 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-09-19 21:16:42 +0200 |
commit | c86b4790a839a9e02f7ed95f229d41d829c09c99 (patch) | |
tree | f8a127fad3f87c94cca74759cbd6863e9e65c64d /sub/osd.h | |
parent | 30175538fef26d62202bf582de9fa665dd8f6260 (diff) | |
download | mpv-c86b4790a839a9e02f7ed95f229d41d829c09c99.tar.bz2 mpv-c86b4790a839a9e02f7ed95f229d41d829c09c99.tar.xz |
af_hrtf: initialize coefficient arrays
Sometimes, --af=hrtf produces heavy artifacts or silence. It's possible
that this commit fixes these issues. My theory is that usually, the
uninitialized coefficients quickly converge to sane values as more audio
is filtered, which would explain why there are often artifacts on init,
with normal playback after that. It's also possible that sometimes, the
uninitialized values were NaN or inf, so that the artifacts (or silence)
would never go away.
Fix this by initializing the coefficients to 0. I'm not sure if this is
correct, but certainly better than before.
See issue #1104.
Diffstat (limited to 'sub/osd.h')
0 files changed, 0 insertions, 0 deletions