Microsoft DirectX 9.0

IAudioData Interface

The IAudioData interface provides methods that enable applications to set and get the underlying audio data that audio streams will reference. The audio data format is set in the WAVEFORMATEX structure.

Implement this interface on underlying audio data objects that audio stream sample objects will access.

Applications use this interface to set and retrieve information on underlying data objects that an audio stream will reference.

In addition to the methods inherited from IMemoryData, the IAudioData interface exposes the following methods.

Method Description
GetFormat Retrieves the current data format.
SetFormat Sets the current data format.