SpWaveFormatEx Channels property

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Object: SpWaveFormatEx

Channels Property


The Channels property gets and sets the number of channels in the waveform-audio data.

Monaural data uses one channel and stereo data uses two channels.

Syntax

Set: SpWaveFormatEx.Channels = Integer
Get: Integer = SpWaveFormatEx.Channels

Parts

SpWaveFormatEx
The owning object.
Integer
Set: An Integer variable that sets the property.
Get: An Integer variable that gets the property.

Example

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