CDmsftoblock(3dm) CDmsftoblock(3dm)
CDmsftoblock - convert time to logical block number
#include <sys/types.h>
#include <dmedia/cdaudio.h>
unsigned long CDmsftoblock(CDPLAYER* cd, int min, int sec, int frame)
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.
CDmsftoblock(3dm) returns the desired logical block number.
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.
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)
Mark Callow
PPPPaaaaggggeeee 1111 [ Back ]
|