Microsoft DirectX 9.0

IAudioStreamSample Interface

The IAudioStreamSample interface retrieves information from the underlying IAudioData data objects.

For sample code that implements the audio streaming interfaces, see Multimedia Streaming Sample Code.

Implement this interface on audio stream sample objects when they need access to an IAudioData object's data.

Use this interface when your application needs to access an IAudioData object's data for its audio stream.

In addition to the methods inherited from IStreamSample, the IAudioStreamSample interface exposes the following method.

Method Description
GetAudioData Retrieves the address of a pointer to the IAudioData object associated with the sample.