SpCustomStream Interface (SAPI 5.3)
The SpCustomStream automation object supports the use of existing IStream objects in SAPI.
The Format property and the Read, Write and Seek methods are inherited from the ISpeechBaseStream interface.
Automation Interface Elements
The SpCustomStream automation object has the following elements:
|BaseStream Property||Gets and sets the base stream object in a custom stream.|
|Format Property||Gets and sets the cached wave format of the stream as an SpAudioFormat object.|
|Read Method||Reads data from an audio stream.|
|Seek Method||Returns the current read position of the audio stream in bytes.|
|Write Method||Writes data to the audio stream.|