DirectX SDK |
The DirectMusicPerformance.AdjustTime method adjusts the internal performance time forward or backward. This is mostly used to compensate for drift when synchronizing to another source.
object.AdjustTime(rtAmount As Long)
If the method fails, it raises an error, and Err.Number can be set to DMUS_E_INVALIDARG.
The adjusted time is used internally by DirectMusic. It is not reflected in the time retrieved by the DirectMusicPerformance.GetClockTime method.