This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Attach two multimedia channels
int32_t MmAttachChannels(MmChannel_t *oc, MmChannel_t *ic);
mmedia
This function attaches the output channel oc to the input channel ic. If the channels are buffered, this function handles negotiating formats between channels.
// assuming channel1 is an output channel acquired from one // filter, and channel2 is an input channel acquired from // another filter: if (MmAttachChannels(channel1,channels)==0) { // we've attached the channels }
Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
MmAcquireInputChannel(), MmAcquireOutputChannel(), MmChannel_t, MmReleaseChannel()