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

MediaWriter

Functions for a writer filter

Synopsis:

static MediaWriter media_writer =
 {
    SetOutputStream
 };

Description:

This interface defines the functionality required by any filter that is a graph output point. Typically this is a filter that has no output channels, but does have a stream that it writes its data to (such as video or audio output). MediaWriter defines the following function:

SetOutputStream()

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

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

If successful, this function returns 0.

Classification:

Neutrino

See also:

MediaReader

Extending the Multimedia Framework.