Platform SDK: DirectX

SoundMix Sample

[C++]

This topic pertains only to application development in Visual Basic. See DirectSound C/C++ Samples.

[Visual Basic]

Description

The SoundMix application demonstrates how multiple DirectSound buffers can be played simultaneously, and shows how to change parameters of buffers as they are playing.

Path

Source: (SDK root)\Samples\Multimedia\VBSamples\DSound\Src\SoundMix

Executable: (SDK root)\Samples\Multimedia\VBSamples\DSound\Bin\SoundMix.exe

User's Guide

Load one or more wave files by clicking on the Load buttons. Select the Loop Play check box so short sounds will repeat. Play, pause, and stop the sounds with the buttons, and change parameters by using the sliders.

Programming Notes

The application shows how sound buffers operate independently and are mixed in the primary buffer.