Microsoft DirectX 8.1 (Visual Basic)

DirectSoundFXI3DL2Reverb8.SetQuality

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

Syntax

object.SetQuality( _
  lQuality As CONST_DSFX_I3DL2REVERB_QUALITY)

Parts

object

Resolves to a DirectSoundFXI3DL2Reverb8 object.

lQuality

Value that specifies the quality of the effect. Minimum and maximum values are defined in the CONST_DSFX_I3DL2REVERB_QUALITY enumeration. The default value is 2.

Return Values

Returns the quality of the effect.

Error Codes

If the method fails, an error is raised. Possible values for Err.Number include DSERR_INVALIDPARAM.

See Also