QMedia
Grabber channel commands
|
|
| QM_GetGrabberChannels(areaRef; channelRefs; channelTypes):error | |||
|
|
areaRef | Longint | Grabber area reference |
|
|
channelRefs | Array longint | Channel references |
|
|
channelTypes | Array string | Channel types |
|
|
error | Longint | Error result |
Returns the channel list of a grabber plug-in area.
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.
Parameters channelRefs and channelTypes receive the IDs and types of all channels respectively.
QMedia defines the following constants for identifying channel types:
| qm_VideoMediaType | "vide" | Video media type |
| qm_SoundMediaType | "soun" | Sound media type |
Example
ARRAY LONGINT($channelRefs;0)ARRAY STRING(4;$channelTypes;0) $error:=QM_GetGrabberChannels(xGrabber;$channelRefs;$channelTypes) |
Related commands
| QM_NewChannel | Creates a grabber channel |
| QM_DisposeChannel | Destroys a grabber channel. |