SpCustomStream Interface (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 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 PropertyGets and sets the base stream object in a custom stream.
Format PropertyGets and sets the cached wave format of the stream as an SpAudioFormat object.
Read MethodReads data from an audio stream.
Seek MethodReturns the current read position of the audio stream in bytes.
Write MethodWrites data to the audio stream.