QMedia Grabber channel commands


QM_SetChannelUsage(areaRef; channelRef; channelUsage):error
areaRef Longint Grabber area reference
channelRef Longint Channel reference
channelUsage Longint Channel usage
error Longint Error result

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.


$channelUsage:=qm_seqGrabRecord | qm_seqGrabPreview

Related commands

QM_GetChannelUsage Returns the channel's usage.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:43:32