SpMemoryStream Interface (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

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.