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

MmAcquireOutputChannel()

Acquire a multimedia output channel

Synopsis:

MmChannel_t *MmAcquireOutputChannel(MmFilter_t *filter,
                                    int32_t mtype);

Arguments:

filter
A pointer to the filter you want to acquire an output channel for.
mtype
The media type of the output channel you want to acquire. Can be one of:

You can OR these flags with MEDIA_TYPE_COMPRESSED if the data is compressed.

Library:

mmedia

Description:

This function acquires an output channel from filter of the media type mtype. This function returns NULL if it can't acquire an output channel.

Returns:

A pointer to a new channel (an MmChannel_t) if successful, NULL if not.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmAcquireInputChannel(), MmAttachChannels(), MmChannel_t, MmReleaseChannel()