Microsoft DirectX 8.0 (C++)

IDirectMusicBuffer8::SetStartTime

Sets the start time of the data in the buffer, relative to the master clock.

HRESULT SetStartTime(
  REFERENCE_TIME rt
);

Parameters

rt
New start time for the buffer.

Return Values

The method always returns S_OK.

Remarks

Events already in the buffer are time stamped relative to the start time and play at the same offset from the new start time.

Requirements

  Header: Declared in dmusicc.h.

See Also

IDirectMusicBuffer8::GetStartTime