ltmmAudioFormat.BitsPerSample Property

Visual Basic example  

Syntax

object.BitsPerSample As Long

Remarks

(Read only) This property is updated with the number of bits per sample for the audio format.

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.Channels property is updated with the number of channels for the audio format.

See Also

Elements:

ltmmAudioFormat.Channels property, ltmmAudioFormat.SampleFrequency property

Topics:

Multimedia Properties, Methods and Events