commit | 2a0518cd1d18dc50ffa063a71133e69de2e866ab | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Aug 26 11:43:03 2011 +0100 |
committer | Narayan Kamath <narayan@google.com> | Fri Aug 26 15:40:11 2011 +0100 |
tree | 070a842ecb8a583c4da67778161c43335c735a23 | |
parent | ca6d29da777cffd40d9f3e38f95663ba1a2002c5 [diff] |
Don't allow TTS engines to synthesize too for ahead. For each synthesis request, we inspect the number of bytes of audio that have not been written to the mixer yet and if that is above a certain threshold (currently 500ms), we block the synthesis thread. bug:5214603 Change-Id: I24c64c48466bdb96ce47b34cee7da2523ee5f0eb