36
Argus Encoder Family Version 2.6 API Developer’s Guide
Methods Exposed Through IVTRCenter
long GetPreRoll( long *pPreRoll ) –
Issues a command to the tape deck to
retrieve the number of seconds to pre-roll. The pre-roll (in integral seconds) is
returned at the address passed as the only argument to
GetPreRoll()
.
The method returns:
0 if the command was successful
-19 if the command failed
-32 if VTRType is not set to SONY_9_PIN.
long GotoPreRoll() –
Issues a command to roll the tape to
<pre-roll>
seconds before the mark-in, where both the mark-in and the pre-roll have been
set by earlier
Set()
or
Put()
commands.
The method returns:
0 if the command was successful
-33 if the command failed
-32 if the VTRType is not set to SONY_9_PIN.
long GotoTimeCode(BSTR TimeCode) –
Issues a command to roll the tape to
the time code indicated by the TimeCode argument, which is expressed as a
string in the format “hh:mm:ss:ff.”
The method returns:
0 if the command was successful
-58 if the command failed
-32 if the VTRType is not set to SONY_9_PIN.
long Jog(long direction, long delay) –
Causes the VTR to jog in the indicated
direction. A direction of 1 jogs the tape forward and a direction of -1 jogs it in
reverse. The delay is a time in milliseconds that determines how long the tape
jogs for. The delay needed is dependent on the distance of the jog and the VTR
being used. A delay of 100 equates to a jog of 1 frame for most VTRs.
The method returns:
0 if the command was successful
-51 if the command failed
-32 if the VTRType is not set to SONY_9_PIN
long Pause() –
Issues a command to pause the tape deck.
The method returns:
0 if the command was successful
-14 if the command failed
-32 if the VTRType is not set to SONY_9_PIN.