CDmsftoblock(3dm)

CDmsftoblock - convert time to logical block number

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     CDmsftoblock - convert time to logical block number

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

     unsigned long CDmsftoblock(CDPLAYER* cd, int min, int sec, int frame)

PARAMETERS
     cd              A pointer to the CDPLAYER structure representing the
                     target CD-ROM drive.

     min,sec,frame   The value to be converted in absolute time code.

RETURNED VALUE
     CDmsftoblock(3dm) returns the desired logical block number.

DESCRIPTION
     CDmsftoblock(3dm) converts a minutes, seconds, frames triple representing
     a time in absolute time code into the corresponding logical block number
     for the given CD-ROM drive.  A block is one CDFRAME. You should use
     CDmsftoframe(3dm) rather than CDmsftoblock(3dm) for comparing times.  The
     logical block number differs from the frame number by an offset required
     by certain CD-ROM drives.

SEE ALSO
     CDintro(3dm), CDclose(3dm), CDframetomsf(3dm), CDgetstatus(3dm),
     CDgettrackinfo(3dm), CDmsftoblock(3dm), CDmsftoframe(3dm), CDopen(3dm),
     CDplaytrack(3dm), CDreadda(3dm), CDseekblock(3dm), CDtctoframe(3dm),
     cdframe(4)

AUTHOR
     Mark Callow