Logo Search packages:      
Sourcecode: vcdimager version File versions

lba_t vcdinfo_get_track_lba ( const vcdinfo_obj_t *  obj,
track_t  track_num 
)

Return the starting LBA (logical block address) for track number track_num in obj.

The IS0-9660 filesystem track has number 0. Tracks associated with playable entries numbers start at 1.

The "leadout" track is specified either by using track_num LEADOUT_TRACK or the total tracks+1. VCDINFO_NULL_LBA is returned on failure.

Return the starting LBA (logical block address) for track number track_num in obj.

The IS0-9660 filesystem track has number 0. Tracks associated with playable entries numbers start at 1.

The "leadout" track is specified either by using track_num LEADOUT_TRACK or the total tracks+1. VCDINFO_NULL_LBA is returned on failure.

Definition at line 1307 of file info.c.

References vcdinfo_get_track_lba(), and VCDINFO_NULL_LBA.

Referenced by vcdinfo_get_track_lba(), and vcdinfo_get_track_size().

{
  if (NULL == obj || NULL == obj->img)
    return VCDINFO_NULL_LBA;
  

  /* CdIo tracks start at 1 rather than 0. */
  return cdio_get_track_lba(obj->img, track_num+1);
}


Generated by  Doxygen 1.6.0   Back to index