Microsoft DirectX 8.1 (Visual Basic)

DSFXPARAMEQ

The DSFXPARAMEQ type contains parameters for a parametric equalizer effect.

Syntax

Type DSFXPARAMEQ
  fBandwidth As Single
  fCenter As Single
  fGain As Single
End Type

Members

fBandwidth

Bandwidth, in semitones. Minimum and maximum values are defined in the CONST_DSFXPARAMEQ_BANDWIDTH enumeration. The default value is 12.

fCenter

Center frequency, in hertz. Minimum and maximum values are defined in the CONST_DSFXPARAMEQ_CENTER enumeration. This value cannot exceed one-third of the frequency of the buffer. The default value is 8000.

fGain

Gain, in decibels. Minimum and maximum values are defined in the CONST_DSFXPARAMEQ_GAIN enumeration. The default value is 0.

Remarks

The value in fCenter cannot exceed one-third of the frequency of the buffer. If an attempt is made to set a higher value, the parameter is set to the nearest supported value.

See Also