• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Generated by h2py from /usr/include/sys/cdio.h
2CDROM_LBA = 0x01
3CDROM_MSF = 0x02
4CDROM_DATA_TRACK = 0x04
5CDROM_LEADOUT = 0xAA
6CDROM_AUDIO_INVALID = 0x00
7CDROM_AUDIO_PLAY = 0x11
8CDROM_AUDIO_PAUSED = 0x12
9CDROM_AUDIO_COMPLETED = 0x13
10CDROM_AUDIO_ERROR = 0x14
11CDROM_AUDIO_NO_STATUS = 0x15
12CDROM_DA_NO_SUBCODE = 0x00
13CDROM_DA_SUBQ = 0x01
14CDROM_DA_ALL_SUBCODE = 0x02
15CDROM_DA_SUBCODE_ONLY = 0x03
16CDROM_XA_DATA = 0x00
17CDROM_XA_SECTOR_DATA = 0x01
18CDROM_XA_DATA_W_ERROR = 0x02
19CDROM_BLK_512 = 512
20CDROM_BLK_1024 = 1024
21CDROM_BLK_2048 = 2048
22CDROM_BLK_2056 = 2056
23CDROM_BLK_2336 = 2336
24CDROM_BLK_2340 = 2340
25CDROM_BLK_2352 = 2352
26CDROM_BLK_2368 = 2368
27CDROM_BLK_2448 = 2448
28CDROM_BLK_2646 = 2646
29CDROM_BLK_2647 = 2647
30CDROM_BLK_SUBCODE = 96
31CDROM_NORMAL_SPEED = 0x00
32CDROM_DOUBLE_SPEED = 0x01
33CDROM_QUAD_SPEED = 0x03
34CDROM_TWELVE_SPEED = 0x0C
35CDROM_MAXIMUM_SPEED = 0xff
36CDIOC = (0x04 << 8)
37CDROMPAUSE = (CDIOC|151)
38CDROMRESUME = (CDIOC|152)
39CDROMPLAYMSF = (CDIOC|153)
40CDROMPLAYTRKIND = (CDIOC|154)
41CDROMREADTOCHDR = (CDIOC|155)
42CDROMREADTOCENTRY = (CDIOC|156)
43CDROMSTOP = (CDIOC|157)
44CDROMSTART = (CDIOC|158)
45CDROMEJECT = (CDIOC|159)
46CDROMVOLCTRL = (CDIOC|160)
47CDROMSUBCHNL = (CDIOC|161)
48CDROMREADMODE2 = (CDIOC|162)
49CDROMREADMODE1 = (CDIOC|163)
50CDROMREADOFFSET = (CDIOC|164)
51CDROMGBLKMODE = (CDIOC|165)
52CDROMSBLKMODE = (CDIOC|166)
53CDROMCDDA = (CDIOC|167)
54CDROMCDXA = (CDIOC|168)
55CDROMSUBCODE = (CDIOC|169)
56CDROMGDRVSPEED = (CDIOC|170)
57CDROMSDRVSPEED = (CDIOC|171)
58SCMD_READ_TOC = 0x43
59SCMD_PLAYAUDIO_MSF = 0x47
60SCMD_PLAYAUDIO_TI = 0x48
61SCMD_PAUSE_RESUME = 0x4B
62SCMD_READ_SUBCHANNEL = 0x42
63SCMD_PLAYAUDIO10 = 0x45
64SCMD_PLAYTRACK_REL10 = 0x49
65SCMD_READ_HEADER = 0x44
66SCMD_PLAYAUDIO12 = 0xA5
67SCMD_PLAYTRACK_REL12 = 0xA9
68SCMD_CD_PLAYBACK_CONTROL = 0xC9
69SCMD_CD_PLAYBACK_STATUS = 0xC4
70SCMD_READ_CDDA = 0xD8
71SCMD_READ_CDXA = 0xDB
72SCMD_READ_ALL_SUBCODES = 0xDF
73CDROM_MODE2_SIZE = 2336
74