RetroArch
Macros | Enumerations
cdrom.h File Reference
#include <stdint.h>
Include dependency graph for cdrom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __CDROM_H__
 
#define CD_TRACK_PADDING   (4)
 
#define CD_MAX_TRACKS   (99) /* AFAIK the theoretical limit */
 
#define CD_MAX_SECTOR_DATA   (2352)
 
#define CD_MAX_SUBCODE_DATA   (96)
 
#define CD_FRAME_SIZE   (CD_MAX_SECTOR_DATA + CD_MAX_SUBCODE_DATA)
 
#define CD_FRAMES_PER_HUNK   (8)
 
#define CD_METADATA_WORDS   (1+(CD_MAX_TRACKS * 6))
 
#define CD_FLAG_GDROM   0x00000001 /* disc is a GD-ROM, all tracks should be stored with GD-ROM metadata */
 
#define CD_FLAG_GDROMLE   0x00000002 /* legacy GD-ROM, with little-endian CDDA data */
 

Enumerations

enum  {
  CD_TRACK_MODE1 = 0, CD_TRACK_MODE1_RAW, CD_TRACK_MODE2, CD_TRACK_MODE2_FORM1,
  CD_TRACK_MODE2_FORM2, CD_TRACK_MODE2_FORM_MIX, CD_TRACK_MODE2_RAW, CD_TRACK_AUDIO,
  CD_TRACK_RAW_DONTCARE
}
 
enum  { CD_SUB_NORMAL = 0, CD_SUB_RAW, CD_SUB_NONE }
 

Macro Definition Documentation

◆ __CDROM_H__

#define __CDROM_H__

◆ CD_FLAG_GDROM

#define CD_FLAG_GDROM   0x00000001 /* disc is a GD-ROM, all tracks should be stored with GD-ROM metadata */

◆ CD_FLAG_GDROMLE

#define CD_FLAG_GDROMLE   0x00000002 /* legacy GD-ROM, with little-endian CDDA data */

◆ CD_FRAME_SIZE

#define CD_FRAME_SIZE   (CD_MAX_SECTOR_DATA + CD_MAX_SUBCODE_DATA)

◆ CD_FRAMES_PER_HUNK

#define CD_FRAMES_PER_HUNK   (8)

◆ CD_MAX_SECTOR_DATA

#define CD_MAX_SECTOR_DATA   (2352)

◆ CD_MAX_SUBCODE_DATA

#define CD_MAX_SUBCODE_DATA   (96)

◆ CD_MAX_TRACKS

#define CD_MAX_TRACKS   (99) /* AFAIK the theoretical limit */

◆ CD_METADATA_WORDS

#define CD_METADATA_WORDS   (1+(CD_MAX_TRACKS * 6))

◆ CD_TRACK_PADDING

#define CD_TRACK_PADDING   (4)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CD_TRACK_MODE1 
CD_TRACK_MODE1_RAW 
CD_TRACK_MODE2 
CD_TRACK_MODE2_FORM1 
CD_TRACK_MODE2_FORM2 
CD_TRACK_MODE2_FORM_MIX 
CD_TRACK_MODE2_RAW 
CD_TRACK_AUDIO 
CD_TRACK_RAW_DONTCARE 

◆ anonymous enum

anonymous enum
Enumerator
CD_SUB_NORMAL 
CD_SUB_RAW 
CD_SUB_NONE