CDtctoframe(3dm)

CDtctoframe - convert timecode to CD frame number

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     CDtctoframe - convert timecode to CD frame number

SYNOPSIS
     #include <sys/types.h>
     #include <dmedia/cdaudio.h>

     unsigned long CDtctoframe(struct cdtimecode* tc)

PARAMETERS
     tc   A pointer to a struct cdtimecode structure representing the value to
          be converted to a frame number.

RETURNED VALUE
     CDtctoframe(3dm) returns the desired CD frame number.

DESCRIPTION
     CDtctoframe(3dm) converts a struct cdtimecode representing a time in
     absolute time code into the corresponding CD frame number.  Comparing
     frame numbers is easier than comparing timecodes.

SEE ALSO
     CDintro(3dm), CDopen(3dm), CDclose(3dm), CDframetomsf(3dm),
     CDframetotc(3dm), CDgetstatus(3dm), CDgettrackinfo(3dm),
     CDmsftoblock(3dm), CDmsftoframe(3dm), CDreadda(3dm), CDplay(3dm),
     CDplayabs(3dm), CDplaytrack(3dm), CDplaytrackabs(3dm) cdframe(4)

AUTHOR
     Mark Callow