Sensoray 2251 Rev.A User Manual
Page 18
number of assigned video stream.
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
MID2250_API int SN_PlaybackSetRate(
double drate,
int vidnum,
);
Changes playback speed.
Parameters
drate
a double specifying playback speed. 0.5 corresponds to half of normal speed, 2.0 - double
the normal speed. Minimum speed is 0.5.
vidnum
number of assigned video stream.
Returns
0 on success, negative value if error (see mid2250types.h for error codes list).
MID2250_API int SN_PlaybackSetSeekPosition(
int percent,
int range,
int vidnum
);
Seeks the position in the file being played back. The position is calculated as file_size * percent /
range.
Parameters
percent
a numerator of the position in the file expressed as a fraction of a total file size.
range
18