commit | 6172dc5ba0b27f898a470708fff9587051fc160d | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Sep 21 23:18:29 2021 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Sep 22 10:56:27 2021 -0700 |
tree | 1c3de07331d5a1c1bbdc5a63ce18a5440fe63799 | |
parent | 212fc8b3dcd5cdd0b6cdce5c368abe9855ae6886 [diff] |
Spatial audio: read prop for spatializer init, persist feature state Use property ro.audio.spatializer_enabled to optimize the AudioService initialization of Spatializer. Persist the state of the spatial audo feature whenever its state changes. Read it at start or whenever AudioService needs to re-initialize the feature (after audio_server restart) Bug: 188502620 Test: adb shell dumpsys audio | grep -A 4 Spatial Change-Id: I667ff7f0247396aad698765455e400337d9c6dcb