Microsoft DirectX 9.0

IDirectMusicBuffer8::SetStartTime

The SetStartTime method sets the start time of the data in the buffer, relative to the master clock.

Syntax

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