Share via


Note

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

Microsoft Speech Platform

ISpVoice::GetRate

ISpVoice::GetRate retrieves the current base speaking rate (either the default rate or the last value set by ISpVoice::SetRate).

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>HRESULT GetRate(</strong> <strong> long</strong> *<em>pRateAdjust</em> <strong>);</strong> </pre>

Parameters

  • pRateAdjust
    [out] Pointer to a long which receives the base rate.

Return Values

Value Description
S_OK Function completed successfully.
E_POINTER pRateAdjust is invalid.