commit | 33897bac9744f10c126b9f44488d390b4de49331 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Jul 23 10:57:02 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Sat Aug 15 01:13:44 2020 +0000 |
tree | 5a9eddf934ce44652c6f1211aa582ceb0c4ec253 | |
parent | e52b8fa8fabd74555dd1ebb2e9405460a545a919 [diff] |
audio policy: fix beacon mute delay Only take output latency into account when the output is active when muting TTS stream. This avoid a systematic long delay the first time we play audio due to first beacon mute state change. Bug: 37923452 Test: repro steps in bug Change-Id: I10b21a55c0fad28344108b67756f600a29e41fea (cherry picked from commit cdb2b35c0f159a1a244599010ee9210d1e34c71d)