Platform SDK: Web Telephony Engine

WTEApplication.TTSWaveFormat Property

The TTSWaveFormat property sets or retrieves the wave format to negotiate with the TTS engine.

Syntax

WTEApplication.TTSWaveFormat [ = iFormat ]

Possible Values

iFormat
Value from the PCMWaveFormats enumeration. By default, this property has an initial value of wteDefaultWaveFormat.

This property is read-write.

Remarks

If this property specifies the wteDefaultWaveFormat value, the first wave format suggested by the TTS engine is accepted. If this property specifies a value other than wteDefaultWaveFormat, only the specified format is accepted. If the TTS engine does not support the specified format, the call is disconnected. Because there is no way to ask the TTS engine to renegotiate the format, a new TTS engine (or the same one) is loaded each time the value of the TTSWaveFormat property is changed. This property has no effect on wave files.

The Microsoft TTS engine supports the following formats:

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Mswtecom.idl and Mswtecom.h.
  Library: Use Mswtecom.lib.

See Also

PCMWaveFormats, WTEApplication