ltmmMediaInfo.SourceDuration Property
object.SourceDuration As Long |
Remarks
(Read only) This property is updated with the duration of the longest stream in the current source media file, in seconds. This property is updated automatically when the ltmmMediaInfo.SourceFile property is set to the current source media file.
The duration of the longest stream is based on normal playback speed. Changing the playback rate does not affect the duration.
The name of the current source media file can be found in the ltmmMediaInfo.SourceFile property. This is the file for which the ltmmMediaInfo object gets information. The ltmmMediaInfo.SourceFile property must be set before getting information from any of the other ltmmMediaInfo properties.
Call the ltmmMediaInfo.ResetSource method to release the source file when it is no longer needed.
See Also