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