Microsoft DirectX 9.0

IDirectMusicPerformance8::SetPrepareTime

The SetPrepareTime method sets the interval between the time when messages are sent by tracks and the time when the sound is heard. This interval allows sufficient time for the message to be processed by tools.

Syntax

HRESULT SetPrepareTime(
  DWORD dwMilliSeconds
);

Parameters

dwMilliSeconds

Amount of prepare time, in milliseconds. The default value is 1000.

Return Values

The method returns S_OK.

Requirements

  Header: Declared in dmusici.h.

See Also