SpFileStream Interface (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

SpFileStream

The SpFileStream automation object enables data streams to be read and written as files.

SpFileStream objects normally contain audio data, but may also be used for text data.

The Format property and the Read, Write and Seek methods are inherited from the ISpeechBaseStream interface.

Automation Interface Elements

The SpFileStream automation object has the following elements:


PropertiesDescription
Format PropertyGets and sets the cached wave format of the stream as an SpAudioFormat object.
MethodsDescription
Close MethodCloses the filestream object.
Open MethodOpens a filestream object for reading or writing.
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.
Show: