Microsoft DirectX 9.0

IAMMediaTypeStream Interface

This interface contains methods for creating multimedia streams with arbitrary media types. Use this interface if you need to create a multimedia stream with a format that is not supported by the other Microsoft DirectShow multimedia streaming interfaces.

This interface inherits from the IMediaStream interface.

Note   For video streams, use the IDirectDrawMediaStream interface instead of this interface. For audio streams, use the IAudioMediaStream interface.

In addition to the methods inherited from IMediaStream, the IAMMediaTypeStream interface exposes the following methods.

Method Description
CreateSample Creates a stream sample and optionally specifies the sample buffer.
GetFormat Retrieves the format of the stream.
GetStreamAllocatorRequirements Retrieves the allocator requirements for the stream. This method is not currently implemented.
SetFormat Sets the format of the stream.
SetStreamAllocatorRequirements Sets the allocator requirements for the stream. This method is not currently implemented.