/** * 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); }
/** * Returns an implementation of IVoice to perform text synthesis operations. * * @return IVoice implementation */ public static IVoice getVoice() { return VoicePlugin.getVoice(); }