CDframetotc(3dm) CDframetotc(3dm)
CDframetotc - convert CD frame number to timecode
#include <sys/types.h>
#include <dmedia/cdaudio.h>
void CDframetotc(unsigned long fr, struct cdtimecode* tc)
fr The frame number to be converted.
tc A pointer to the struct cdtimecode in which to place the result.
CDframetotc(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.
CDintro(3dm), CDaddcallback(3dm), CDatotime(3dm), CDframetomsf(3dm),
CDparseframe(3dm), cdframe(4)
Doug Cook, Mark Callow
PPPPaaaaggggeeee 1111 [ Back ]
|