Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the performance time at which the segment started or will start playing.
object.GetStartTime() As Long
Returns the start time, in music time, of this instance of the segment.
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_BUFFER_EMPTY.
If the segment was started from some point other than the beginning, you can retrieve the time at which the beginning of the segment would have fallen by subtracting the time returned by DirectMusicSegmentState8.GetStartPoint from the value returned by this method.
DirectMusicSegment8.SetStartPoint, DirectMusicSegment8.GetStartPoint, DirectMusicSegmentState8.GetStartPoint