QMedia Grabber channel commands

QM_NewChannel

QM_NewChannel(areaRef; channelRef; channelType):error
areaRef Longint Grabber area reference
channelRef Longint Channel reference
channelType String4 Channel type
error Longint Error result

Creates a new input channel and attaches it to a grabber plug-in area.

The grabber plug-in area is specified by areaRef.

Parameter channelRef receives a reference to the channel.

Parameter channelType specifies the type of the channel. The following predefined constants can be used:

qm_VideoMediaType "vide" Video media type
qm_SoundMediaType "soun" Sound media type

Example

`Add a video channel to the grabber
 
C_LONGINT($videoChannel)
 
$error:=QM_NewChannel (xGrabber;$videoChannel;qm_VideoMediaType)
 

Related commands

QM_DisposeChannel Destroys a grabber channel.
QM_GetGrabberChannels Returns a grabber's channels.

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