commit | 9a561561cdd9333bc2d35d926861483fba30f2f8 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Mar 16 17:05:38 2022 +0000 |
committer | Presubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com> | Wed Mar 16 17:05:38 2022 +0000 |
tree | a58bc338a338ab8bf16a4acf1a996b484cc19e77 | |
parent | 4cb91e824b7af50c0759c4da63509f8eefcf15ba [diff] | |
parent | 65cef33dfd5a69d15fb5aabcae4c03bffd8805d8 [diff] |
[automerge] DO NOT MERGE - Spatializer: disable head tracking 2p: 65cef33dfd Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/17219835 Bug: 224623509 Change-Id: I9b009018127ebc988cfad077e1e6db6041c3b9ec
diff --git a/services/audiopolicy/service/Spatializer.cpp b/services/audiopolicy/service/Spatializer.cpp index 54d9094..d2b5ccc 100644 --- a/services/audiopolicy/service/Spatializer.cpp +++ b/services/audiopolicy/service/Spatializer.cpp
@@ -216,7 +216,9 @@ if (status != NO_ERROR) { return status; } - mSupportsHeadTracking = supportsHeadTracking[0]; +// Disable head tracking until head sensor activity is properly controlled. +// mSupportsHeadTracking = supportsHeadTracking[0]; + mSupportsHeadTracking = false; status = getHalParameter<true>(effect, SPATIALIZER_PARAM_SUPPORTED_LEVELS, &mLevels); if (status != NO_ERROR) {