Microsoft DirectX 8.1 (Visual Basic)

DSFXECHO

The DSFXECHO type contains parameters for an echo effect.

Syntax

Type DSFXECHO
  fFeedback As Single
  fLeftDelay As Single
  fRightDelay As Single
  fWetDryMix as Single
  lPanDelay As CONST_DSFX_PANDELAY
End Type

Members

fFeedback

Percentage of output fed back into input. The default value is 50. Minimum and maximum values are defined in the CONST_DSFXECHO_FEEDBACK enumeration.

fLeftDelay

Delay for left channel. The default value is 500 ms. Minimum and maximum values are defined in the CONST_DSFX_LEFTRIGHTDELAY enumeration.

fRightDelay

Delay for right channel. The default value is 500 ms. Minimum and maximum values are defined in the CONST_DSFX_LEFTRIGHTDELAY enumeration.

fWetDryMix

Ratio of wet (processed) signal to dry (unprocessed) signal. Minimum and maximum values are defined in the CONST_DSFX_WETDRY enumeration. The default value is 50.

lPanDelay

Value that specifies whether to swap left and right delays with each successive echo. The default value is zero, meaning no swap. Allowable values are defined in the CONST_DSFX_PANDELAY enumeration.

Remarks

Where the type of a member is an enumeration that defines minimum and maximum values, other Long values within this defined range are allowed. The enumeration is a convenience so that minimum and maximum values are easily accessible when writing code.

See Also