Platform SDK: DirectX |
アプリケーションは IDirectSound3DBuffer インターフェイスのメソッドを使って、3D 空間におけるリスナーの位置、方向、環境を記述するパラメータの取得と設定を行う。ここでは、IDirectSound3DBuffer インターフェイスのメソッドのリファレンスを提供する。概要については、「DirectSound 3D バッファ」を参照すること。
IDirectSound3DBuffer は、IDirectSoundBuffer::QueryInterface メソッドを使って取得する。詳細については、「DirectSound3DBuffer オブジェクトの取得」を参照すること。
IDirectSound3DBuffer インターフェイスのメソッドは、以下のグループにまとめることができる。
バッチ パラメータ操作 | GetAllParameters |
SetAllParameters | |
距離 | GetMaxDistance |
GetMinDistance | |
SetMaxDistance | |
SetMinDistance | |
操作モード | GetMode |
SetMode | |
位置 | GetPosition |
SetPosition | |
サウンド プロジェクション コーン | GetConeAngles |
GetConeOrientation | |
GetConeOutsideVolume | |
SetConeAngles | |
SetConeOrientation | |
SetConeOutsideVolume | |
速度 | GetVelocity |
SetVelocity |
すべての COM インターフェイスと同様、IDirectSound3DBuffer インターフェイスは IUuknown インターフェイス メソッドを継承している。IUnknown インターフェイスは以下の 3 つのメソッドをサポートする。
IUnknown | AddRef |
QueryInterface | |
Release |
LPDIRECTSOUND3DBUFFER 型は、IDirectSound3DBuffer インターフェイスへのポインタとして定義されている。
typedef struct IDirectSound3DBuffer *LPDIRECTSOUND3DBUFFER;
Windows NT/2000 : Windows 2000 が必要。
Windows 95/98 : Windows 95 以降が必要。Windows 95 用に再配布可能な形で使用可能。
ヘッダー : dsound.h で宣言。
インポート ライブラリ : dsound.lib を使用。