Fix Chrome OS audio capture time stamps.
The current code assumes that the time stamp given by CRAS is from the clock that base::TimeTicks uses. It is not, leading to incorrect time stamps. I verified that, in a VM, the new code in apprtc reports ~the same latency as running "cras_test_client --capture_file /dev/null --show_latency". Bug: 903213 Change-Id: Ib998414d4c4c8a3df7c7ef62f8386960f7439156 Reviewed-on: https://chromium-review.googlesource.com/c/1326142Reviewed-by:Olga Sharonova <olka@chromium.org> Commit-Queue: Max Morin <maxmorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#606470}
Showing
Please register or sign in to comment