Speech Research >> Anybody else have problems with SPF_PURGEBEFORESPEAK using Loquendo?

by WTH » Sat, 01 Jan 2005 03:38:51 GMT

Our real-time TTS application has no problems with other SAPI5 systems; but,
Loquendo ALWAYS freezes the system if you interrupt it while it is speaking.

Our method of interruption is to call:

l_hrResult = m_pVoice->Speak( NULL, SPF_PURGEBEFORESPEAK, 0 );

And we have tried conglomerating the new speak and a purge request like:

l_hrResult = m_pVoice->Speak( l_szSpeech,
SPF_ASYNC|SPF_PURGEBEFORESPEAK, 0 );

Neither of these methods work as Loquendo will always freeze the system when
another speak is called while it is already speaking.

Anybody know a safe way to interrupt Loquendo's voices?

Thanks,

WTH