diff options
| author | 2022-03-17 17:54:13 -0700 | |
|---|---|---|
| committer | 2022-03-22 17:11:15 -0700 | |
| commit | 1af0b37a863d0829f0788a96ee8fb8883aca0c31 (patch) | |
| tree | 17dc7f28827f9d7b33de350675943730d34e24a3 /libs/input/SpriteController.cpp | |
| parent | 7105d4ac137c78c6a71e2a32e80e85c9016fc127 (diff) | |
SpatializerHelper: fix setting desired head tracking mode
When the desired head tracking mode changes, do not compare against
current actual mode, as transient mode could be equal to the
desired mode. Instead always set the desired mode when the value
changes.
Also move head tracker / screen sensor init to dedicated methods
for code readability.
Bug: 225220771
Test: 5.1 playback with head tracker
Change-Id: I1147f6fa5c74a017c32edfe2ff19a578d6b38470
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions