| Index: chrome/browser/chromeos/accessibility/speech_monitor.cc
|
| diff --git a/chrome/browser/chromeos/accessibility/speech_monitor.cc b/chrome/browser/chromeos/accessibility/speech_monitor.cc
|
| index cff49c64aaa25c05166a0a5299a54306d6eeca5b..07a4e6c02f91fdda5a7c51febc5fdea980ff5362 100644
|
| --- a/chrome/browser/chromeos/accessibility/speech_monitor.cc
|
| +++ b/chrome/browser/chromeos/accessibility/speech_monitor.cc
|
| @@ -84,6 +84,11 @@ std::string SpeechMonitor::error() {
|
|
|
| void SpeechMonitor::WillSpeakUtteranceWithVoice(const Utterance* utterance,
|
| const VoiceData& voice_data) {
|
| + // Filter out empty utterances which can be used to trigger a start event from
|
| + // tts as an earcon sync.
|
| + if (utterance->text() == "")
|
| + return;
|
| +
|
| VLOG(0) << "Speaking " << utterance->text();
|
| utterance_queue_.push_back(utterance->text());
|
| if (loop_runner_.get())
|
|
|