Microsoft DirectX 8.0 (C++)

IDirectMusicPerformance8::SetBumperLength

Sets the amount of time to buffer ahead of the port's latency for messages to be sent to the port for rendering. For an overview of this topic, see Timing.

HRESULT SetBumperLength(
  DWORD dwMilliSeconds
);

Parameters

dwMilliSeconds
Amount of preplay time, in milliseconds. The default value is 50.

Return Values

The method returns S_OK.

Requirements

  Header: Declared in dmusici.h.

See Also

IDirectMusicPerformance8::GetBumperLength, IDirectMusicPerformance8::SetPrepareTime