blob: 015df1ae04bd05819289d3ce8cf65eb9e6d3b0df [file] [log] [blame]
Guido van Rossum0fe11051999-04-12 14:35:08 +00001# Generated by h2py from /usr/include/linux/cdrom.h
2CD_MINS = 74
3CD_SECS = 60
4CD_FRAMES = 75
5CD_SYNC_SIZE = 12
6CD_HEAD_SIZE = 4
7CD_SUBHEAD_SIZE = 8
8CD_XA_HEAD = (CD_HEAD_SIZE+CD_SUBHEAD_SIZE)
9CD_XA_SYNC_HEAD = (CD_SYNC_SIZE+CD_XA_HEAD)
10CD_FRAMESIZE = 2048
11CD_FRAMESIZE_RAW = 2352
12CD_FRAMESIZE_RAW1 = (CD_FRAMESIZE_RAW-CD_SYNC_SIZE)
13CD_FRAMESIZE_RAW0 = (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE)
14CD_FRAMESIZE_RAWER = 2646
15CD_EDC_SIZE = 4
16CD_ZERO_SIZE = 8
17CD_ECC_SIZE = 276
18CD_XA_TAIL = (CD_EDC_SIZE+CD_ECC_SIZE)
19CD_FRAMESIZE_SUB = 96
20CD_MSF_OFFSET = 150
21CD_CHUNK_SIZE = 24
22CD_NUM_OF_CHUNKS = 98
23CD_FRAMESIZE_XA = CD_FRAMESIZE_RAW1
24CD_BLOCK_OFFSET = CD_MSF_OFFSET
25CDROM_LBA = 0x01
26CDROM_MSF = 0x02
27CDROM_DATA_TRACK = 0x04
28CDROM_LEADOUT = 0xAA
29CDROM_AUDIO_INVALID = 0x00
30CDROM_AUDIO_PLAY = 0x11
31CDROM_AUDIO_PAUSED = 0x12
32CDROM_AUDIO_COMPLETED = 0x13
33CDROM_AUDIO_ERROR = 0x14
34CDROM_AUDIO_NO_STATUS = 0x15
35CDROM_MODE1_SIZE = 512
36CDROM_MODE1_SIZE = 2048
37CDROM_MODE2_SIZE = 2336
38CDROMPAUSE = 0x5301
39CDROMRESUME = 0x5302
40CDROMPLAYMSF = 0x5303
41CDROMPLAYTRKIND = 0x5304
42CDROMREADTOCHDR = 0x5305
43CDROMREADTOCENTRY = 0x5306
44CDROMSTOP = 0x5307
45CDROMSTART = 0x5308
46CDROMEJECT = 0x5309
47CDROMVOLCTRL = 0x530a
48CDROMSUBCHNL = 0x530b
49CDROMREADMODE2 = 0x530c
50CDROMREADMODE1 = 0x530d
51CDROMREADAUDIO = 0x530e
52CDROMEJECT_SW = 0x530f
53CDROMMULTISESSION = 0x5310
54CDROM_GET_UPC = 0x5311
55CDROMRESET = 0x5312
56CDROMVOLREAD = 0x5313
57CDROMREADRAW = 0x5314
58CDROMREADCOOKED = 0x5315
59CDROMSEEK = 0x5316
60CDROMPLAYBLK = 0x5317
61CDROMREADALL = 0x5318
62CDROMCLOSETRAY = 0x5319
63CDROMLOADFROMSLOT = 0x531a
64SCMD_READ_TOC = 0x43
65SCMD_PLAYAUDIO_MSF = 0x47
66SCMD_PLAYAUDIO_TI = 0x48
67SCMD_PAUSE_RESUME = 0x4B
68SCMD_READ_SUBCHANNEL = 0x42
69SCMD_PLAYAUDIO10 = 0x45
70SCMD_READ_HEADER = 0x44
71SCMD_PLAYAUDIO12 = 0xA5
72SCMD_PLAYTRACK_REL12 = 0xA9
73SCMD_CD_PLAYBACK_CONTROL = 0xC9
74SCMD_CD_PLAYBACK_STATUS = 0xC4
75ERR_RECOVERY_PARMS = 0x01
76DISCO_RECO_PARMS = 0x02
77FORMAT_PARMS = 0x03
78GEOMETRY_PARMS = 0x04
79CERTIFICATION_PARMS = 0x06
80CACHE_PARMS = 0x38