commit | b2a87e5dc0bbd496df3addccf4ccd913f132c920 | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Fri Aug 20 10:17:05 2021 -0700 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Mon Aug 23 10:00:53 2021 -0700 |
tree | 47a833f4b74470a8abdeccc55ebd47f317f5d4b9 | |
parent | 779d1eec1bc53b707fc2d2b1dcff7c87be854098 [diff] |
Improve recentering logic Allow recentering to be used to "repair" discontinuities in the input stream by completely resetting the state. That includes considering the next sample that arrives as the new baseline. Test: atest --host libheadtracking-test Bug: 188502620 Change-Id: Ib85679ce8f82c0059bd7260edf73418ab7ba9494