IVTxtAttributes::SpeedSet
This method sets the average talking speed for a voice text site, in words per minute.
Syntax
HRESULT SpeedSet( DWORD dwSpeed);
Parameters
- dwSpeed
- [in] Specifies the new talking speed for the site. An application can specify TTSATTR_MINSPEED or TTSATTR_MAXSPEED for the minimum or maximum allowable value, respectively.
Return Values
- NOERROR
- The method successfully set the average talking speed for a voice text site.
- VTXTERR_INVALIDPARAM
- A parameter is invalid.
- VTXTERR_OUTOFMEM
- There is not enough memory.
Remarks
The talking speed for a site is saved between uses of the site, even if the user shuts down the computer in the meantime.
If a voice-navigation application is installed on the user’s computer, an application may not need to set the speed.
See Also
IVTxtAttributes::SpeedGet