commit | cef2daaf49e8802e3377ebc604012aa244b7231a | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Fri Jun 01 15:31:49 2018 -0700 |
committer | Andy Hung <hunga@google.com> | Mon Jun 04 10:27:52 2018 -0700 |
tree | 5cd12c0b322858c80d616b40d65bd7ecadc59eac | |
parent | 20bd30baf9fcd59e7000e7c626cc8bc1e85637bc [diff] |
AudioFlinger: refine latency computation if track is drained Use server timestamp if track has no actively presented frames (i.e. drained). Sometimes track frames may not have reached the HAL. Test: audioflinger dumpsys with BT audio Bug: 80447764 Change-Id: Iffc52f4cfcbadd419c6b6ccfa278e0712f3af4af