ISpTTSEngineSite::GetRate (SAPI 5.4)
ISpTTSEngineSite::GetRate retrieves the current TTS rendering rate adjustment that should be used by the engine.
HRESULT GetRate( long *pRateAdjust );
- [out] Pointer to a long which specifies the baseline rate.
|E_POINTER||pRateAdjust is invalid|
|S_OK||Function completed successfully.|
This function should be called when a call to GetActions returns SPVES_RATE. The retrieved value establishes a baseline rate. Additional rate adjustments in the XML state should be combined with this value to determine the actual absolute rate adjustment.