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

MmAcquireInputChannel()

Acquire a multimedia input channel

Synopsis:

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

Arguments:

filter
A pointer to the filter you want to acquire an input channel for.
mtype
The media type of the input 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 input channel from filter of the media type mtype. This function returns NULL if it can't acquire an input 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:

MmAcquireOutputChannel(), MmAttachChannels(), MmChannel_t, MmReleaseChannel()