SpMemoryStream Interface

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

SpMemoryStream

The SpMemoryStream automation object supports audio stream operations in memory.

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


Automation Interface Elements

The SpMemoryStream automation object has the following elements:


Properties Description
Format Property Gets and sets the cached wave format of the stream as an SpAudioFormat object.
Methods Description
GetData Method Gets the contents of the stream.
Read Method Reads data from an audio stream.
Seek Method Returns the current read position of the audio stream in bytes.
SetData Method Sets the contents of the stream.
Write Method Writes data to the audio stream.