[AudioService] Use realtime thread for loopback worker.
Instead of using the AudioManager worker thread, which has normal thread priority; use a realtime thread for audio loopback. This is needed because the GenerateMoreAudio() tasks were executing way too late during low-available-CPU situations, and this was causing audio underruns and lots of cut-outs/glitching for the end user. Bug: 960161 Change-Id: I4350aab93a1678c57a8e8769dc7852a2d181be39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1602114Reviewed-by:Yuri Wiitala <miu@chromium.org> Reviewed-by:
Max Morin <maxmorin@chromium.org> Commit-Queue: Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#658322}
Showing
Please register or sign in to comment