Microsoft DirectX 9.0

Tutorial 1: Playing Audio Files

This tutorial is a step-by-step guide to the most basic tasks in DirectMusic: initializing a DirectMusic performance and playing an audio file. The tutorial is presented in the following steps:

The complete sample code for the tutorial is available in the following folder:

C:\DXSDK\Samples\C++\DirectMusic\Tutorials\Tutorial1

Note   If you installed the DirectX SDK in a different root directory, substitute the name of that directory for "Dxsdk" in the path.