WaveFormat.Channels Property

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center