Searched refs:m_tts (Results 1 – 4 of 4) sorted by relevance
21 private static TextToSpeech m_tts = null; field in TextToSpeechClient39 if (m_tts != null) { in initSpeaker()40 m_tts.shutdown(); in initSpeaker()43 m_tts = new TextToSpeech(this, this); in initSpeaker()51 if(m_tts.isLanguageAvailable(locale) >= TextToSpeech.LANG_AVAILABLE) { in onInit()52 m_tts.setLanguage(locale); in onInit()57 …m_tts.setAudioAttributes(new AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA).setCo… in onInit()65 if (m_tts != null) { in onDestroy()66 m_tts.shutdown(); in onDestroy()72 if (m_tts != null) { in read()[all …]
14 QTextToSpeech *m_tts; member in TextToSpeechPrivate23 m_tts = new QTextToSpeech(); in TextToSpeechPrivate()27 delete m_tts; in ~TextToSpeechPrivate()31 m_tts->say(text); in say()35 m_tts->setVolume(volume); in setVolume()
204 OkularTTS *m_tts; member in PageViewPrivate274 , m_tts(nullptr) in PageViewPrivate()297 if (!m_tts) { in tts()298 m_tts = new OkularTTS(q); in tts()308 return m_tts; in tts()357 d->m_tts = nullptr; in PageView()512 if (d->m_tts) in ~PageView()513 d->m_tts->stopAllSpeechs(); in ~PageView()5109 if (!d->m_tts) in slotStopSpeaks()5112 d->m_tts->stopAllSpeechs(); in slotStopSpeaks()[all …]