Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
MmAcquireOutputChannel

MmAcquireOutputChannel

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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:
  • MEDIA_TYPE_IMAGE
  • MEDIA_TYPE_VIDEO
  • MEDIA_TYPE_AUDIO
  • MEDIA_TYPE_TEXT
  • MEDIA_TYPE_UNKNOWN

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()