#include "libburn.h"
#include "structure.h"
Go to the source code of this file.
◆ 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:
(drive)->toc_entry[(entrynum)].psec, \
(drive)->toc_entry[(entrynum)].pframe)
int burn_msf_to_lba(int m, int s, int f)
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.
◆ toc_find_modes()
read a sector from each track on disc to determine modes
- Parameters
-
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().