Microsoft DirectX 8.1 (C++)

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

Value that specifies the 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: Declared in dsound.h.

See Also

IDirectSoundFXI3DL2Reverb8::GetQuality

See Also