xorriso  1.5.4.pl02
About: GNU xorriso creates, loads, manipulates and writes ISO 9660 filesystem images with Rock Ridge extensions. It is suitable for incremental data backup and for production of bootable ISO 9660 images. GNU xorriso is a statical compilation of the libraries libburn, libisofs, libisoburn, and libjte.
  Fossies Dox: xorriso-1.5.4.pl02.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

toc.h File Reference
#include "libburn.h"
#include "structure.h"
Include dependency graph for toc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TOC_ENTRY_IS_TRACK(drive, entrynum)    ((drive)->toc_entry[entrynum].point < 100)
 
#define TOC_ENTRY_IS_AUDIO(drive, entrynum)    (~(drive)->toc_entry[entrynum].control & 4)
 
#define TOC_POINT(drive, entrynum)   ((drive)->toc_entry[entrynum].point)
 
#define TOC_TRACK(drive, entrynum)    ((drive)->track[TOC_POINT(drive, entrynum) - 1])
 
#define TOC_ENTRY_PLBA(drive, entrynum)
 
#define TOC_CONTROL_AUDIO   (0)
 
#define TOC_CONTROL_DATA   (1 << 2)
 
#define TOC_CONTROL_AUDIO_TWO_CHANNELS   (0)
 
#define TOC_CONTROL_AUDIO_FOUR_CHANNELS   (1 << 3)
 
#define TOC_CONTROL_AUDIO_PRE_EMPHASIS   (1 << 0)
 
#define TOC_CONTROL_DATA_RECORDED_UNINTERRUPTED   (0)
 
#define TOC_CONTROL_DATA_RECORDED_INCREMENT   (1 << 0)
 
#define TOC_CONTROL_COPY_PROHIBITED   (0)
 
#define TOC_CONTROL_COPY_PERMITTED   (1 << 1)
 

Functions

void toc_find_modes (struct burn_drive *d)
 

Macro Definition Documentation

◆ TOC_CONTROL_AUDIO

#define TOC_CONTROL_AUDIO   (0)

Definition at line 38 of file toc.h.

◆ TOC_CONTROL_AUDIO_FOUR_CHANNELS

#define TOC_CONTROL_AUDIO_FOUR_CHANNELS   (1 << 3)

Definition at line 41 of file toc.h.

◆ TOC_CONTROL_AUDIO_PRE_EMPHASIS

#define TOC_CONTROL_AUDIO_PRE_EMPHASIS   (1 << 0)

Definition at line 42 of file toc.h.

◆ TOC_CONTROL_AUDIO_TWO_CHANNELS

#define TOC_CONTROL_AUDIO_TWO_CHANNELS   (0)

Definition at line 40 of file toc.h.

◆ TOC_CONTROL_COPY_PERMITTED

#define TOC_CONTROL_COPY_PERMITTED   (1 << 1)

Definition at line 46 of file toc.h.

◆ TOC_CONTROL_COPY_PROHIBITED

#define TOC_CONTROL_COPY_PROHIBITED   (0)

Definition at line 45 of file toc.h.

◆ TOC_CONTROL_DATA

#define TOC_CONTROL_DATA   (1 << 2)

Definition at line 39 of file toc.h.

◆ TOC_CONTROL_DATA_RECORDED_INCREMENT

#define TOC_CONTROL_DATA_RECORDED_INCREMENT   (1 << 0)

Definition at line 44 of file toc.h.

◆ TOC_CONTROL_DATA_RECORDED_UNINTERRUPTED

#define TOC_CONTROL_DATA_RECORDED_UNINTERRUPTED   (0)

Definition at line 43 of file toc.h.

◆ TOC_ENTRY_IS_AUDIO

#define TOC_ENTRY_IS_AUDIO (   drive,
  entrynum 
)     (~(drive)->toc_entry[entrynum].control & 4)

Definition at line 21 of file toc.h.

◆ TOC_ENTRY_IS_TRACK

#define TOC_ENTRY_IS_TRACK (   drive,
  entrynum 
)     ((drive)->toc_entry[entrynum].point < 100)

Definition at line 17 of file toc.h.

◆ TOC_ENTRY_PLBA

#define TOC_ENTRY_PLBA (   drive,
  entrynum 
)
Value:
burn_msf_to_lba((drive)->toc_entry[(entrynum)].pmin, \
(drive)->toc_entry[(entrynum)].psec, \
(drive)->toc_entry[(entrynum)].pframe)
int burn_msf_to_lba(int m, int s, int f)
Definition: sector.c:759

Definition at line 32 of file toc.h.

◆ TOC_POINT

#define TOC_POINT (   drive,
  entrynum 
)    ((drive)->toc_entry[entrynum].point)

Definition at line 25 of file toc.h.

◆ TOC_TRACK

#define TOC_TRACK (   drive,
  entrynum 
)     ((drive)->track[TOC_POINT(drive, entrynum) - 1])

Definition at line 28 of file toc.h.

Function Documentation

◆ toc_find_modes()

void toc_find_modes ( struct burn_drive d)

read a sector from each track on disc to determine modes

Parameters
dThe drive.

Definition at line 106 of file toc.c.

References BURN_ALLOC_MEM_VOID, BURN_AUDIO, BURN_FREE_MEM, BURN_MODE1, buffer::bytes, burn_toc_entry::control, burn_drive::disc, burn_track::entry, burn_track::mode, buffer::sectors, burn_disc::session, burn_disc::sessions, burn_session::track, and burn_session::tracks.

Referenced by mmc_read_toc_al().