Microsoft DirectX 8.1 (C++)

BGMusic Sample

Description

Playback application that cycles through a set of audio files.

This sample shows how to swap source filters in a filter graph. When the application begins, it renders the first audio file in the sequence and sets a timer. Whenever the timer goes off, the application removes the source filter and replaces it with a source filter for the next file. The files are all of the same type, so there is no need to rebuild the entire graph.

Path

Source: (SDK root)Samples\\Multimedia\DirectShow\Players\BGMusic

Executable: (SDK root)\Samples\Multimedia\DirectShow\Bin\BGMusic.exe