ISpeechBaseStream Format Property

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechBaseStream

Format Property


The Format property gets and sets the cached wave format of the stream as an SpAudioFormat object.

Syntax

Set: ISpeechBaseStream.Format = SpAudioFormat
Get: SpAudioFormat = ISpeechBaseStream.Format

Parts

ISpeechBaseStream
The owning object.
SpAudioFormat
Set: An SpAudioFormat object that sets the wave format.
Get: An SpAudioFormat object that gets the wave format.

Example

For an example of the use of the Format property, see the code example in the SpAudioFormat GetWaveFormatEx section.