Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

ISpVoice::Resume

ISpVoice::Resume sets the output device to the RUN state and resumes rendering.

It decrements the pause count (which is incremented by ISpVoice::Pause) if the voice is currently paused. If the pause count hits zero, Resume attempts to reclaim the output device and resumes rendering. This method has no effect if the voice was not in a paused state.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT Resume ( void );</strong> </pre>

Parameters

None.

Return Values

Value Description
S_OK Function completed successfully.
FAILED(hr) Appropriate error message.