HomeSort by relevance Sort by last modified time
    Searched refs:speech_synthesizer_ (Results 1 - 2 of 2) sorted by null

  /external/chromium/chrome/browser/extensions/
extension_tts_api_win.cc 40 base::win::ScopedComPtr<ISpVoice> speech_synthesizer_; member in class:ExtensionTtsPlatformImplWin
62 if (!speech_synthesizer_)
70 speech_synthesizer_->SetRate(static_cast<int32>(rate * 20 - 10));
85 speech_synthesizer_->SetVolume(static_cast<uint16>(volume * 100));
89 speech_synthesizer_->Resume();
92 speech_synthesizer_->Speak(
99 if (speech_synthesizer_ && !paused_) {
100 speech_synthesizer_->Pause();
107 if (speech_synthesizer_ && !paused_) {
109 HRESULT result = speech_synthesizer_->GetStatus(&status, NULL)
    [all...]
  /external/chromium_org/chrome/browser/speech/
tts_win.cc 50 base::win::ScopedComPtr<ISpVoice> speech_synthesizer_; member in class:TtsPlatformImplWin
79 if (!speech_synthesizer_.get())
90 speech_synthesizer_->SetRate(static_cast<int32>(10 * log10(params.rate)));
105 speech_synthesizer_->SetVolume(static_cast<uint16>(params.volume * 100));
116 HRESULT result = speech_synthesizer_->Speak(
124 if (speech_synthesizer_.get()) {
131 speech_synthesizer_->Speak(L"", SPF_ASYNC | SPF_PURGEBEFORESPEAK, NULL);
134 speech_synthesizer_->Resume();
142 if (speech_synthesizer_.get() && utterance_id_ && !paused_) {
143 speech_synthesizer_->Pause()
    [all...]

Completed in 92 milliseconds