WaveFormat.Channels Property (Microsoft.DirectX.DirectSound)

Retrieves and sets the number of channels in the waveform-audio data, for the format type.

Definition

Visual Basic Public Property Channels As Short
C# public short Channels { get; set; }
C++ public:
property short Channels {
        short get();
        void set(short value);
}
JScript public function get Channels() : short
public function set Channels(short);

Property Value

System.Int16
The number of channels in the waveform-audio data, for the format type.

This property is read/write. 

Remarks

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