Rediger

Del via


DMO Demo Sample

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Description

This sample application demonstrates how to use DirectX Media Objects (DMO) in an application. It streams audio data from a WAV file through an audio effect DMO to a DirectSound buffer.

Usage

Click the Sound File button to load a sound file. Use the drop-down combo box to select an audio effect DMO. Click the Play button to hear the sound file played with the audio effect.

Downloading the Sample

To download the DirectShow SDK samples, install the latest version of the Windows SDK.

This sample is installed under the following path: [SDK Root]\Samples\Multimedia\DirectShow\DMO\DMODemo.

DirectShow Samples

DirectX Media Objects