IAudioMediaStream interface

Note  This interface is deprecated. New applications should not use it.
 
The IAudioMediaStream interface controls audio media streams by providing methods that set and get the stream's format. This interface inherits from the IMediaStream interface and is used to create one or more IAudioStreamSample objects. You can also use it to set and retrieve the stream data's current format.

This interface is currently defined only for PCM format audio data.

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

Like video, audio is contained in a self-describing container object. Implement this interface when an object needs to control streaming audio.

Use this interface when you want to generate audio in your application.

Methods

The IAudioMediaStream interface has these methods.

Method Description
IAudioMediaStream::CreateSample Note  This interface is deprecated. New applications should not use it. Creates an audio stream sample for use with the specified stream.
IAudioMediaStream::GetFormat Note  This interface is deprecated. New applications should not use it. Retrieves the stream data's current format.
IAudioMediaStream::SetFormat Note  This interface is deprecated. New applications should not use it. Sets the format for the stream.

Requirements

   
Target Platform Windows
Header austream.h

See also

IMediaStream