commit | 1590359d5ee9a7bd98b6f0746356742241456418 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Feb 24 20:44:36 2022 +0100 |
committer | Eric Laurent <elaurent@google.com> | Mon Feb 28 17:44:28 2022 +0100 |
tree | 1cfc99d94a26b36bff7f2bddd5ae0022f4231420 | |
parent | 07b6cbdac69fc7910b07f9321b26ef8b5b140992 [diff] |
spatializer: disable head tracker sensor when not neeeded Only enabled the head tracker sensor when the following conditions are met: - Spatialization is enabled - Head tracking desired mode is not static - A valid head tracking sensor is set - At least one audio track is active on the spatializer mixer Bug: 218273231 Test: manual test with uhid-sample sensor simulator Change-Id: Ie3acd27f4387a9192f907d99a6798a1d8224df12