DirectX SDK

Tutorial 1: Loading and Playing Sounds

[C++]

This section pertains only to DirectX for Visual Basic. See DirectSound C/C++ Tutorials.

[Visual Basic]

This tutorial demonstrates one of the most basic features of DirectSound, loading and playing a sound. This is done by loading a wave file into a buffer and playing back the buffered data.

This tutorial is divided into the following steps: