ltmmAudioFormat.Channels Property

Visual Basic example

Syntax

object.Channels As Long

Comments

(Read only) This property is updated with the audio format's channels.

The ltmmCaptureCtrl.AudioCaptureFormats property is updated with an LtmmAudioFormats object that contains all the audio formats available for the current capture device. The ltmmAudioFormats.Item Method obtains an ltmmAudioFormat object for each of the supported audio formats. The ltmmAudioFormat properties of each ltmmAudioFormat object, obtained using the Item method, are updated with information about that specific audio format. This information includes the BitsPerSample property, Channels property, and the SampleFrequency property.

The ltmmAudioFormat.SampleFrequency property is updated with the sample frequency of the format and the ltmmAudioFormat.BitsPerSample property is updated with the number of bits per sample for the audio format.

Platforms

Win32, x64

See Also

Elements:

ltmmAudioFormat.BitsPerSample property, ltmmAudioFormat.SampleFrequency property

Topics:

Multimedia Properties, Methods and Events