DThmsftoframe(3dm) DThmsftoframe(3dm)
NAME
DThmsftoframe - convert hours, minutes, seconds, frame to DAT frame
number.
SYNOPSIS
#include <sys/types.h>
#include <dmedia/dataudio.h>
unsigned long DThmsfframe(int hour, int min, int sec, int frame)
PARAMETERS
hour,min,sec,frame The value to be converted, in absolute time.
RETURNED VALUE
DThmsftoframe returns the desired frame number.
DESCRIPTION
DThmsftoframe converts an hours, minutes, seconds, frame quadruple,
representing a time in absolute time, into the corresponding DAT frame
number. Absolute time is a continuously incrementing time starting from
0 at the start of the tape.
Frame numbers are much easier to compare than timecodes.
SEE ALSO
DTintro(3dm), DTaddcallback(3dm), DTparseframe(3dm),
DTremovecallback(3dm), DTtctoframe(3dm), DTvalidtc(3dm), datframe(4)
AUTHOR
Mark Callow
Page 1