ltmmMediaSample.SetMediaTime Method

Visual Basic example

Syntax

object.SetMediaTime(TimeStartHi As Long, TimeStartLo As Long, TimeStopHi As Long, TimeStopLo As Long)

Remarks

Sets the media times for this sample.

The interpretation of the media time depends on the media type. For more information, refer to Time Stamps.

If the method fails, an error is raised. For more information, refer to the Error Codes.

See Also

Elements:

ltmmMediaSample.ActualDataLength Property, ltmmMediaSample.Buffer Property, ltmmMediaSample.BufferSize Property, ltmmMediaSample.Discontinuity Property, ltmmMediaSample.Preroll Property, ltmmMediaSample.SyncPoint Property, ltmmMediaSample.GetData Method, ltmmMediaSample.GetMediaType Method, ltmmMediaSample.GetMediaTime Method, ltmmMediaSample.GetTime Method, ltmmMediaSample.ResetMediaTime Method, ltmmMediaSample.ResetTime Method, ltmmMediaSample.SetData Method, ltmmMediaSample.SetTime Method, ltmmMediaSample.SetMediaType Method

Topics:

ltmmMediaSample object