Microsoft DirectX 9.0

IDirectSoundFXDistortion8::SetAllParameters

The SetAllParameters method sets the distortion parameters of a buffer.

Syntax

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.

See Also