ltmmAudioFormat.SampleFrequency Property

Visual Basic example

Syntax

Object.SampleFrequency As Long

Remarks

(Read only) This property is updated with the audio format's sample frequency, in HZ. This is the number of audio samples in one second.

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.Channels property is updated with the number of channels for the audio format and the ltmmAudioFormat.BitsPerSample property is updated with the number of bits per sample for the audio format.

See Also

Elements:

ltmmAudioFormat.BitsPerSample property, ltmmAudioFormat.Channels property

Topics:

Multimedia Properties, Methods and Events