|
libaaruformat 1.0
Aaru Data Preservation Suite - Format Library
|
Single optical disc track descriptor (sequence, type, LBAs, session, ISRC, flags). More...
#include <aaruformat/structs/optical.h>
Data Fields | |
| uint8_t | sequence |
| Track number (1..99 typical for CD audio/data). 0 may indicate placeholder/non-standard. | |
| uint8_t | type |
| Track type (value from TrackType). | |
| int64_t | start |
| Inclusive starting LBA of the track. | |
| int64_t | end |
| Inclusive ending LBA of the track. | |
| int64_t | pregap |
| Pre-gap length in sectors preceding track start (0 if none). | |
| uint8_t | session |
| Session number (1-based). 1 for single-session discs. | |
| uint8_t | isrc [13] |
| ISRC raw 13-byte code (no null terminator). All zeros if not present. | |
| uint8_t | flags |
| Control / attribute bitfield (see file documentation for suggested bit mapping). | |
Single optical disc track descriptor (sequence, type, LBAs, session, ISRC, flags).
| int64_t TrackEntry::end |
Inclusive ending LBA of the track.
Definition at line 76 of file optical.h.
Referenced by aaruf_write_sector(), and aaruf_write_sector_long().
| uint8_t TrackEntry::flags |
Control / attribute bitfield (see file documentation for suggested bit mapping).
Definition at line 80 of file optical.h.
Referenced by aaruf_read_sector_tag(), and aaruf_write_sector_tag().
| uint8_t TrackEntry::isrc[13] |
ISRC raw 13-byte code (no null terminator). All zeros if not present.
Definition at line 79 of file optical.h.
Referenced by aaruf_read_sector_tag(), and aaruf_write_sector_tag().
| int64_t TrackEntry::pregap |
| uint8_t TrackEntry::sequence |
Track number (1..99 typical for CD audio/data). 0 may indicate placeholder/non-standard.
Definition at line 73 of file optical.h.
Referenced by aaruf_read_track_sector(), aaruf_set_tracks(), aaruf_write_sector(), aaruf_write_sector_long(), and process_tracks_block().
| uint8_t TrackEntry::session |
Session number (1-based). 1 for single-session discs.
Definition at line 78 of file optical.h.
Referenced by aaruf_write_sector().
| int64_t TrackEntry::start |
Inclusive starting LBA of the track.
Definition at line 75 of file optical.h.
Referenced by aaruf_read_sector_long(), aaruf_read_sector_tag(), aaruf_read_track_sector(), aaruf_write_sector(), aaruf_write_sector_long(), and aaruf_write_sector_tag().
| uint8_t TrackEntry::type |
Track type (value from TrackType).
Definition at line 74 of file optical.h.
Referenced by aaruf_read_sector_long(), aaruf_write_sector(), and aaruf_write_sector_long().