Microsoft DirectX 9.0 SDK Update (October 2004)

IDirectSoundFXI3DL2Reverb8::SetQuality

The SetQuality method sets the quality of the environmental reverberation effect. Higher values produce better quality at the expense of processing time.

Syntax

HRESULT SetQuality(
  LONG lQuality
);

Parameters

lQuality

Quality of the effect, in the range from DSFX_I3DL2REVERB_QUALITY_MIN to DSFX_I3DL2REVERB_QUALITY_MAX. The default value is 2.

Return Values

If the method succeeds, the return value is DS_OK.

If the method fails, the return value may be DSERR_INVALIDPARAM.

Requirements

  Header: Dsound.h
  Library: Dsdmo.dll

See Also


© 2004 Microsoft Corporation. All rights reserved.