Microsoft DirectX 8.1 (Visual Basic) |
The GetPreset method retrieves an identifier for standard reverberation parameters of a buffer.
Syntax
object.GetPreset() As Long
Parts
object
Resolves to a DirectSoundFXI3DL2Reverb8 object.
Return Values
Returns a preset identifier from the CONST_DSFX_I3DL2_ENVIRONMENT_PRESETS enumeration. See Dsound.h for the default parameters associated with each preset.
Error Codes
If the method fails, an error is raised. Possible values for Err.Number include the following:
DSERR_INVALIDPARAM |
DSERR_INVALIDCALL |