diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 18:59:13 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-31 18:59:13 +0000 |
commit | e04817633c6442af49b0db7934902b0add0a3b6a (patch) | |
tree | 8a573b45b0debde3512e3da13c2344463030b433 /LICENSE | |
parent | 6876147020f06c3c9bb5305dd683e0e71f26382e (diff) | |
download | chromium_src-e04817633c6442af49b0db7934902b0add0a3b6a.zip chromium_src-e04817633c6442af49b0db7934902b0add0a3b6a.tar.gz chromium_src-e04817633c6442af49b0db7934902b0add0a3b6a.tar.bz2 |
An improved fix for TTS Extension API problems on Windows.
The Windows speech API doesn't have a Stop function, and
we were using Pause before to implement this, but this meant
the utterance was still around, causing events from a
previous utterance to still get sent when speech was
resumed again. Instead, now we call Speak with an
empty string and cause it to flush the speech queue. This
ensures that only one utterance is active at a time.
BUG=94466
TEST=manual testing with several talking extensions
Review URL: http://codereview.chromium.org/7792015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions