SpCustomStream Interface (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

SpCustomStream

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:

Properties Description
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.
Methods Description
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.