Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MediaReader

Functions for a reader filter

Synopsis:

static MediaReader media_reader =
 {
    SetInputStream
 };

Description:

This interface defines the functionality required by any filter that is a graph input point. Typically this is a filter that has no input channels, but does have a media stream that it gets its data from. MediaReader defines the following function:

SetInputStream()

int32_t (*SetInputStream)(MmFilter_t *filter,
                          const AOStream_t *stream);

This function should set the filter's input stream to stream.

If successful, this function should return 0.

Classification:

Neutrino

See also:

MediaWriter

Extending the Multimedia Framework.