Logo Search packages:      
Sourcecode: vcdimager version File versions

lba_t vcdinfo_msf2lba ( uint8_t  min,
uint8_t  sec,
int8_t  frame 
)

Convert minutes, seconds and frame (MSF components) into a logical block address (or LBA). See also msf_to_lba which uses msf_t as its single parameter.

Convert minutes, seconds and frame (MSF components) into a logical block address (or LBA). See also cdio_msf_to_lba which uses msf_t as its single parameter.

Definition at line 1566 of file info.c.

References vcdinfo_msf2lba().

Referenced by vcdinfo_msf2lba().

{
  return CDIO_CD_FRAMES_PER_SEC*(CDIO_CD_SECS_PER_MIN*min + sec) + frame;
}


Generated by  Doxygen 1.6.0   Back to index