Microsoft DirectX 9.0 |
Description
The AmplitudeModulation sample shows how to apply an effect to a DirectSound secondary buffer and modify the parameters of the effect.
Path
Source: (SDK root)\Samples\C++\DirectSound\AmplitudeModulation
Executable: (SDK root)\Samples\C++\DirectSound\Bin
User's Guide
Play the default sound or load another WAV 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.
Programming Notes
The application takes the following steps to set an effect on a buffer and change its parameters:
See Also