commit | c7e8a483c9bdd48dde327fcd0dd2c4b1d900a65c | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Mon Dec 20 13:26:34 2021 -0800 |
committer | Ytai Ben-tsvi <ytai@google.com> | Thu Dec 23 20:32:59 2021 +0000 |
tree | 10b5d2348c968bfc15e37e6ef4a2020f978eca75 | |
parent | 44e7c3dbd402f5763d1657c6276f1a92b59f7666 [diff] |
Switch to static mode and recenter whenever screen moves This logic intends to solve issues related to using head-tracking while moving (e.g. being in a moving vehicle of walking). We do so by switching to static mode and recentering whenever we detect a significant motion of the screen. Test: Manual verification via the SpatialAudioDemo app. Test: atest --host libheadtracking-test Change-Id: Iae5090c5a315d31ff89ada8d8a13694ea68ccf8e