IDirectSoundFXDistortion8::SetAllParameters

The SetAllParameters method sets the distortion parameters of a buffer.

HRESULT SetAllParameters(
  LPCDSFXDistortion pcDsFxDistortion
);

Parameters

pcDsFxDistortion
Address of a DSFXDistortion structure that specifies the effect parameters.

Return Values

If the method succeeds, the return value is DS_OK or S_FALSE. See the Remarks for DSFXDistortion. If the method fails, the return value may be DSERR_INVALIDPARAM.

Requirements

Header: Declared in Dsound.h.

Import Library: Use Dsdmo.dll.

See Also

IDirectSoundFXDistortion8