ltmmMediaInfo.AudioChannels Property

Visual Basic Example

Syntax

object.AudioChannels As Long

Remarks

(Read only) This property is updated with the number of audio channels for the current stream in the current source media file. This property is updated automatically when the ltmmMediaInfo.CurrentStream property is set to the current stream, if the current stream is a audio stream The portion of the file holding the audio data. The audio data might be compressed to save disk space. The data has to be decompressed using an audio decompressor oftware component which decompresses audio. It must be designed to work with ACM or DirectShow. Note that different compression methods require different decompressors. There is no universal decompressor capable of decoding all compressed streams. before you can play (hear) it..

This property will not be updated if the current stream is not an audio stream.

The current source media file, found in the ltmmMediaInfo.SourceFile property, is the file for which the ltmmMediaInfo object gets information. The ltmmMediaInfo.SourceFile property must be set before retrieving information from any of the other ltmmMediaInfo properties.

The current stream is set in the ltmmMediaInfo.CurrentStream property.

Platforms

Win32, x64

See Also

Elements:

ltmmMediaInfo.AudioFormatTag property, ltmmMediaInfo.AudioSamplesPerSec property, ltmmMediaInfo.AudioBitsPerSample property, ltmmMediaInfo.AudioAvgBytesPerSec property, ltmmMediaInfo.CurrentStream property, ltmmMediaInfo.StreamDuration property, ltmmMediaInfo.StreamMediaType property, ltmmMediaInfo.StreamSubtype property, ltmmMediaInfo.StreamSubtypeName property, ltmmMediaInfo.StreamType property, ltmmMediaInfo.StreamTypeName property, ltmmMediaInfo.OutputStreams property, ltmmMediaInfo.SourceFile property

Topics:

Multimedia Properties, Methods and Events,
Media File Information