*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> audiocddat/CDmsftoblock (3d)              


CDmsftoblock(3dm)					     CDmsftoblock(3dm)

NAME    [Toc]    [Back]

     CDmsftoblock - convert time to logical block number

SYNOPSIS    [Toc]    [Back]

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

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

PARAMETERS    [Toc]    [Back]

     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    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

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

AUTHOR    [Toc]    [Back]

     Mark Callow

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
CDmsftoframe IRIX convert time to CD frame number
strptime Linux convert a string representation of time to a time tm structure
lvreduce HP-UX decrease space allocation or the number of mirror copies of logical volumes
maplun IRIX returns the integer file descriptor for a Fortran logical unit number
lvsplit HP-UX split mirrored LVM logical volume into two logical volumes
lvmerge HP-UX merge two LVM logical volumes into one logical volume
mktime OpenBSD convert date and time to ASCII
strftime IRIX convert date and time to string
asctime OpenBSD convert date and time to ASCII
difftime OpenBSD convert date and time to ASCII
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service