SGGetChannelUsage
TheSGGetChannelUsagefunction allows you to determine how a channel is to be used by the sequence grabber component.
pascal ComponentResult SGGetChannelUsage (SGChannel c, long *usage);
c- Specifies the reference that identifies the channel for this operation. You obtain this reference from the
SGNewChannelfunction, described on page 5-29.usage- Contains a pointer to flags indicating how the channel is to be used. More than one flag may be set to 1; unused flags are set to 0. The following flags are defined:
seqGrabRecord- Indicates that the channel is used during record operations.
seqGrabPreview- Indicates that the channel is used during preview operations.
seqGrabPlayDuringRecord- Indicates that the sequence grabber component plays the data captured by this channel during a record operation.
SEE ALSO
You establish a channel's usage by calling theSGSetChannelUsagefunction, described in the previous section.