Share via


SpWaveFormatEx Channels property (SAPI 5.3)

Microsoft Speech API 5.3

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.