ホーム › Media.Audio.DirectSound › IDirectSoundCaptureFXNoiseSuppress
IDirectSoundCaptureFXNoiseSuppress
COMメソッド 3
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT SetAllParameters(DSCFXNoiseSuppress* pcDscFxNoiseSuppress)
| pcDscFxNoiseSuppress | DSCFXNoiseSuppress* | in | 設定するノイズ抑制のパラメータ群を格納したDSCFXNoiseSuppress構造体へのポインタ。抑制の有効/無効を指定する。 |
vtbl 4 HRESULT GetAllParameters(DSCFXNoiseSuppress* pDscFxNoiseSuppress)
| pDscFxNoiseSuppress | DSCFXNoiseSuppress* | out | 現在のノイズ抑制設定を受け取るDSCFXNoiseSuppress構造体へのポインタ。 |
vtbl 5 HRESULT Reset()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDirectSoundCaptureFXNoiseSuppress "{ED311E41-FBAE-4175-9625-CD0854F693CA}" #usecom global IDirectSoundCaptureFXNoiseSuppress IID_IDirectSoundCaptureFXNoiseSuppress "{}" #comfunc global IDirectSoundCaptureFXNoiseSuppress_SetAllParameters 3 var #comfunc global IDirectSoundCaptureFXNoiseSuppress_GetAllParameters 4 var #comfunc global IDirectSoundCaptureFXNoiseSuppress_Reset 5 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDirectSoundCaptureFXNoiseSuppress "{ED311E41-FBAE-4175-9625-CD0854F693CA}" #usecom global IDirectSoundCaptureFXNoiseSuppress IID_IDirectSoundCaptureFXNoiseSuppress "{}" #comfunc global IDirectSoundCaptureFXNoiseSuppress_SetAllParameters 3 sptr #comfunc global IDirectSoundCaptureFXNoiseSuppress_GetAllParameters 4 sptr #comfunc global IDirectSoundCaptureFXNoiseSuppress_Reset 5 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。