SGSetFrameRate
The SGSetFrameRate function allows the sequence grabber to specify a video channel's frame rate for recording.
pascal ComponentResult SGSetFrameRate (SGChannel c,
Fixed frameRate);
c
- Identifies the channel connection for this operation.
frameRate
- Specifies the desired frame rate. If this parameter is set to 0, use your channel's default frame rate. Typically, this corresponds to the fastest rate that your channel can support.
DESCRIPTION
The SGSetFrameRate function allows the sequence grabber to control a video channel's frame rate. Note that the digitizing hardware may not be able to support the full rate that the sequence grabber specifies. If the rate is too high, operate at the highest rate you can support.
SPECIAL CONSIDERATIONS
Note that this function will not be called when you are recording.
RESULT CODES
| paramErr | -50 | Invalid parameter value |
| cantDoThatInCurrentMode | -9402 | Request invalid in current mode |
SEE ALSO
The sequence grabber can retrieve your channel's current frame rate by calling your SGGetFrameRate function, which is described next.