Microsoft DirectX 8.1 (C++)

DSFXGargle

The DSFXGargle structure contains parameters for an amplitude modulation effect.

Syntax

typedef struct _DSFXGargle {
  DWORD  dwRateHz;
  DWORD  dwWaveShape;
} DSFXGargle, *LPDSFXGargle;
 
typedef const DSFXGargle *LPCDSFXGargle;

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 wave. The following values are defined.

Value Description
DSFXGARGLE_WAVE_TRIANGLE Triangular wave.
DSFXGARGLE_WAVE_SQUARE Square wave.

The default value is DSFXGARGLE_WAVE_TRIANGLE.

Requirements

  Header: Declared in Dsound.h.

See Also