Platform SDK: DirectX |
This topic pertains only to application development in C and C++. See DirectMusic Visual Basic Samples.
This sample application shows how motifs can be played over a primary segment.
Source: (SDK root)\Samples\Multimedia\Dmusic\Src\PlayMotf
Executable: (SDK root)\Samples\Multimedia\DMusic\Bin
Click the buttons to play the various secondary segments (motifs) on top of the main playing primary segment. Click Close to exit the application.
The program uses the registry key set up by the DirectX SDK setup to find the media file path.