|QMedia Grabber channel commands|
|QM_SetChannelUsage(areaRef; channelRef; channelUsage):error|
||areaRef||Longint||Grabber area reference|
Changes the channel's usage in the grabber plug-in area. A channel can be used in preview, in recording, and it can play during record or not.
The grabber plug-in area is specified by areaRef.
Parameter channelRef is the reference to the channel. The channel reference must have been previously obtained with a call to QM_NewChannel.
Parameter channelUsage specifies the channel's usage in the grabber plug-in area. The channelUsage parameter can be constructed by combining (with addition or bitwise "or") any of the following constants.
|qm_seqGrabRecord||1||Channel is used in recording.|
|qm_seqGrabPreview||2||Channel is used in preview.|
|qm_seqGrabPlayDuringRecord||4||Channel plays during record.|
|QM_GetChannelUsage||Returns the channel's usage.|