Microsoft DirectX 8.1 (Visual Basic)

AudioEffects

Description

The AudioEffects sample shows how to retrieve a buffer from an audiopath and apply effects to it. It also demonstrates the standard effects supplied with DirectX.

Path

Source: (SDK root)\Samples\Multimedia\VBSamples\DirectMusic\AudioEffects

Executable: (SDK root)\Samples\Multimedia\VBSamples\DirectMusic\Bin

User's Guide

Load a sound file. Add one or more effects to the Effects in Use list by selecting an effect from the Available Effects list and clicking the right arrow. Remove an effect by selecting it in the Effects in Use list and clicking the left arrow. To update the effects on the buffer, click Apply Effects.

Programming Notes

The cmdApply_Click procedure contains the code for setting the effects, or removing them. Note the main steps: