CDframetotc(3dm)CDframetotc(3dm)NAMECDframetotc - convert CD frame number to timecode
SYNOPSIS
#include <sys/types.h>
#include <dmedia/cdaudio.h>
void CDframetotc(unsigned long fr, struct cdtimecode* tc)
PARAMETERS
fr The frame number to be converted.
tc A pointer to the struct cdtimecode in which to place the result.
DESCRIPTIONCDframetotc(3dm) converts a CD frame number into a struct cdtimecode
which is defined as follows in cdaudio.h :
struct dttimecode {
unchar mhi:4, mlo:4;
unchar shi:4, slo:4;
unchar fhi:4, flo:4;
};
Minutes, seconds and frame number are each represented by 2 BCD digits.
SEE ALSOCDintro(3dm), CDaddcallback(3dm), CDatotime(3dm), CDframetomsf(3dm),
CDparseframe(3dm), cdframe(4)AUTHOR
Doug Cook, Mark Callow
Page 1