Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DSFXGargle Structure

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.

Header: Declared in DSound.h.

Community Additions

Show: