commit | e737cda649acbfa43fc1b74612a83f2fac9aa449 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue May 22 18:55:44 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Tue May 22 19:06:51 2012 -0700 |
tree | 01ac3aaf0b68473c7e21c3056547b87a54f89f0f | |
parent | 8d9846c0693b7651b243f0161caa86be506f764a [diff] |
audioflinger: refine latency latency calculation. There is an audio pipe between the normal mixer output and the fast mixer to cope for scheduling delays and buffer size difference. This pipe depth was not taken into account in latency calculation. Adding the pipe contribution to the latency significantly improves A/V sync. Bug 6520569. Change-Id: I5584908e8aa8a02170eb38b22b4370eea800a235