Platform SDK: DirectX

IDirectMusicPerformance::SetBumperLength

IDirectMusicPerformance::SetBumperLength メソッドは、レンダリングの目的でメッセージをポートに送信する場合に、ポートの遅延時間より前に置かれる緩衝時間 (バンパー時間) を設定する。この項目の詳細については、「タイミング」を参照すること。

HRESULT SetBumperLength(
  DWORD dwMilliSeconds
);

パラメータ

dwMilliSeconds
演奏前の時間の長さ。単位はミリ秒 (ms)、デフォルト値は 50 である。

戻り値

S_OK を返す。

動作環境

  Windows NT/2000 : Windows 2000 が必要。
  Windows 95/98 : Windows 95 以降が必要。Windows 95 用に再配布可能な形で使用可能。
  ヘッダー : dmusici.h で宣言。

参照

IDirectMusicPerformance::GetBumperLengthIDirectMusicPerformance::SetPrepareTime