50 CComPtr<ISpVoice> pVoice;
54 USHORT m_DefaultVolume;
77 void pause(
bool state);
105 std::list <char*>
getVoices(
int voiceType);
void SetSpeechVoice(std::string voice)
To set the speech voice.
void stop()
To stop the speech instance.
std::string getSpeechVoice()
To get the speech voice.
void callbackEvent()
Speech Callback function.
std::list< char * > getVoices(int voiceType)
To get the speech voices.
int getVolumeSpeech()
To get the speech volume.
void SetSpeechText(std::string text)
To set the speech text.
void setRateSpeech(int rateSpeech)
To set the speech rate.
void setVolumeSpeech(int volumeSpeech)
To set the speech volume.
int getRateSpeech()
To get the speech rate.
Speech()
Speech Constructor.
void play()
To play the speech instance.
void pause(bool state)
To pause/resume the speech instance.
~Speech()
Speech Destructor.