]> git.sesse.net Git - nageru/commit
Fix an issue where a ResamplingQueue could reach unbounded length.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 3 May 2016 17:18:43 +0000 (19:18 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 3 May 2016 17:18:43 +0000 (19:18 +0200)
commit53aa0a5f3088f2cefae8e75f6986be3b8700c9d5
tree46c4e6a6ec6c6a6b4656472e3a669ac2fbfb2697
parentb6c6909043028f9776c08adbd6fb0e71c192cc8e
Fix an issue where a ResamplingQueue could reach unbounded length.

This would happen if we stared asking for samples before the first insert,
causing the correction factor to become NaN and everything to go south.
This would also seemingly eventually cause panic messages when we believed we
were out of data in the same queue.
resampling_queue.cpp