Microsoft DirectX 8.0 (C++)

IDirectSound3DBuffer8

3D 空間におけるサウンド バッファの位置、向き、および環境を記述するパラメータの取得と設定に使用する。

IDirectSound3DBuffer8 は、IDirectSoundBuffer の定義である。2 つのインターフェイス名は入れ替え可能である。

IDirectSound3DBuffer8 インターフェイスは、IDirectSoundBuffer8::QueryInterface メソッドを使って IDirectSoundBuffer8 インターフェイスから取得する。オーディオパスから取得することもできる。

IDirectSound3DBuffer8 インターフェイスのメソッドは、次のグループにまとめることができる。

バッチ パラメータ操作 GetAllParameters
  SetAllParameters
距離 GetMaxDistance
  GetMinDistance
SetMaxDistance
SetMinDistance
操作モード GetMode
  SetMode
位置 GetPosition
  SetPosition
サウンド プロジェクション コーン GetConeAngles
  GetConeOrientation
GetConeOutsideVolume
SetConeAngles
SetConeOrientation
SetConeOutsideVolume
速度 GetVelocity
  SetVelocity

すべての COM インターフェイスと同様、IDirectSound3DBuffer8 インターフェイスは IUuknown インターフェイス メソッドを継承している。IUnknown インターフェイスは次の 3 つのメソッドをサポートする。

IUnknown AddRef
  QueryInterface
Release

LPDIRECTSOUND3DBUFFER 型は、IDirectSound3DBuffer8 インターフェイスへのポインタとして定義されている。

typedef struct IDirectSound3DBuffer    *LPDIRECTSOUND3DBUFFER;

動作環境

  ヘッダー : dsound.h で宣言。

参照

3D バッファ オブジェクトの取得オーディオパスからのオブジェクトの取得