ITTSCentral::AudioReset

HRESULT AudioReset(void);

Resets the digital-audio stream.

Returns NOERROR if successful, or the <E_OUTOFMEMORY> error value otherwise.

When AudioReset is called, the engine stops playing the current text and releases any pending text-to-speech buffers, emptying the text-to-speech speaking queue. If the engine is in the paused state (as a result of a call to AudioPause), the engine returns to an unpaused state. BookMark notifications are not sent, even if the text contains bookmarks. When the queue is empty, the engine calls the ITTSBufNotifySink::TextDataDone notification and then the ITTSBufNotifySink::Release notification.