Esempio n. 1
0
 /**
  * Returns the default speed of the TTS engine which is saved in the preference.
  *
  * @return The default speed of the TTS engine
  */
 public static int getDefaultSpeed() {
   return VoicePlugin.getDefault().getPreferenceStore().getInt(IVoice.PREF_SPEED);
 }
Esempio n. 2
0
 /**
  * Returns an implementation of IVoice to perform text synthesis operations.
  *
  * @return IVoice implementation
  */
 public static IVoice getVoice() {
   return VoicePlugin.getVoice();
 }