Logo Search packages:      
Sourcecode: vcdimager version File versions

void vcdinfo_lba2msf ( lba_t  lba,
uint8_t *  min,
uint8_t *  sec,
uint8_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 1577 of file info.c.

References vcdinfo_lba2msf().

Referenced by vcdinfo_lba2msf().

{
  *min = lba / (60*75);
  lba %= (60*75);
  *sec = lba / 75; 
  *frame = lba % 75; 
}


Generated by  Doxygen 1.6.0   Back to index