Microsoft DirectX 8.0 (C++)

IDirectMusicPerformance8::SetPrepareTime

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.

HRESULT SetPrepareTime(
  DWORD dwMilliSeconds
);

Parameters

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

Return Values

The method returns S_OK.

Remarks

For an overview, see Timing.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicPerformance8::GetPrepareTime, IDirectMusicPerformance8::SetBumperLength, Prepare Time, Latency and Bumper Time