IDirectMusicPerformance::GetBumperLength

The IDirectMusicPerformance::GetBumperLength method retrieves the amount of time to buffer ahead of the port's latency for MIDI messages to be sent to the port for rendering. For an overview of this topic, see Timing.

HRESULT GetBumperLength(
  DWORD* pdwMilliSeconds
);
 

Parameters

pdwMilliSeconds
The amount of preplay time.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method may return E_POINTER.

Remarks

The default value is 50 milliseconds.

QuickInfo

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusici.h.

See Also

IDirectMusicPerformance::SetBumperLength