DSFXGargle

The DSFXGargle structure contains parameters for an amplitude modulation effect.

typedef struct DSFXGargle {
    DWORD dwRateHz;
    DWORD dwWaveShape;
} DSFXGargle;

Members

dwRateHz
Rate of modulation, in Hertz. Must be in the range from DSFXGARGLE_RATEHZ_MIN through DSFXGARGLE_RATEHZ_MAX. The default value is 20.
dwWaveShape
Shape of the modulation waveform. The following values are defined.
Value Description
DSFXGARGLE_WAVE_TRIANGLE Triangular waveform.
DSFXGARGLE_WAVE_SQUARE Square waveform.

The default value is DSFXGARGLE_WAVE_TRIANGLE.

Requirements

Header: Declared in Dsound.h.

See Also

Gargle | IDirectSoundFXGargle8