ltmmMediaInfo.AudioSamplesPerSec Property
object.AudioSamplesPerSec As Long |
Remarks
(Read only) This property is updated with the sample rate, in samples per second, for the audio channels of 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.
See Also