ITTSAttributes::SpeedSet

HRESULT SpeedSet(DWORD dwSpeed);

Sets the baseline average speed for a text-to-speech mode.

· Returns NOERROR if successful, or one of these error values:

<E_INVALIDARG>
<E_OUTOFMEMORY>
<TTSERR_NOTSUPPORTED>
<TTSERR_VALUEOUTOFRANGE>

dwSpeed

[in] New baseline average speed, in words per minute. An application can specify TTSATTR_MINSPEED or TTSATTR_MAXSPEED for minimum or maximum allowable values. If the value is out of range for the engine, an error is returned and the speed is not changed.