Microsoft DirectX 8.1 (C++)

IDirectMusicPerformance8::SetBumperLength

The SetBumperLength method 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.

Syntax

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