Microsoft Speech SDK
SAPI 5.1
ISpVoice::GetRate
ISpVoice::GetRate retrieves the current base rate (either the default rate or the last value set by ISpVoice::SetRate).
HRESULT GetRate(
long *pRateAdjust
);
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. |