Platform SDK: Web Telephony Engine |
The InputWaveFormat property sets or retrieves the wave format to negotiate with the SR engine and to use for recordings.
WTEApplication.InputWaveFormat [ = iFormat ]
This property is read-write.
For SR, if this property specifies the wteDefaultWaveFormat value, the first wave format suggested by the SR engine is accepted. If this property specifies a value other than wteDefaultWaveFormat, only the specified format is accepted. If the SR engine does not support the specified format, the call is disconnected. Because there is no way to ask the SR engine to renegotiate the format, a new SR engine (or the same one) is loaded each time the value of the InputWaveFormat property is changed.
For recording, this property determines the wave format of the recorded files. If this property is set to wteDefaultWaveFormat, the format used for the recorded files is 8KHz, 16-bit, mono.
The only format supported by Microsoft's SR engine is 8KHz, 16 bit, mono.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Mswtecom.idl and Mswtecom.h.
Library: Use Mswtecom.lib.