Microsoft DirectX 9.0 |
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 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