Microsoft DirectX 8.0 (C++) |
The AmplitudeModulation sample shows how to apply an effect to a DirectSound secondary buffer and modify the parameters of the effect.
Source: (SDK Root)\Sample\Multimedia\DirectSound\AmplitudeModulation
Executable: (SDK Root)\Sample\Multimedia\DirectSound\Bin
Play the default sound or load another wave file by clicking Sound File. Change the parameters of the effect by selecting one of the Wave Form options and moving the slider to change the modulation rate.
The application takes the following steps to set an effect on a buffer and change its parameters: