summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-13 18:30:07 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-13 18:30:07 (GMT)
commit9a1425d4fdc9db73a7a8b1450e0ead32ee679c67 (patch)
tree35ca877671150cfcddd0a741c050bbd6f948ebbf /Lib
parent16b8f3047fa4e6e58e49c43373fc58293c7271ff (diff)
downloadcpython-9a1425d4fdc9db73a7a8b1450e0ead32ee679c67.zip
cpython-9a1425d4fdc9db73a7a8b1450e0ead32ee679c67.tar.gz
cpython-9a1425d4fdc9db73a7a8b1450e0ead32ee679c67.tar.bz2
Initial revision
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/irix5/CD.py33
-rwxr-xr-xLib/plat-irix5/CD.py33
2 files changed, 66 insertions, 0 deletions
diff --git a/Lib/irix5/CD.py b/Lib/irix5/CD.py
new file mode 100755
index 0000000..9dee8a1
--- /dev/null
+++ b/Lib/irix5/CD.py
@@ -0,0 +1,33 @@
+ERROR = 0
+NODISC = 1
+READY = 2
+PLAYING = 3
+PAUSED = 4
+STILL = 5
+
+AUDIO = 0
+PNUM = 1
+INDEX = 2
+PTIME = 3
+ATIME = 4
+CATALOG = 5
+IDENT = 6
+CONTROL = 7
+
+##CDDA_DATASIZE = 2352
+##CDDA_SUBCODESIZE = (sizeof(struct subcodeQ))
+##CDDA_BLOCKSIZE = (sizeof(struct cdframe))
+##CDDA_NUMSAMPLES = (CDDA_DATASIZE/2)
+##
+##CDQ_PREEMP_MASK = 0xd
+##CDQ_COPY_MASK = 0xb
+##CDQ_DDATA_MASK = 0xd
+##CDQ_BROADCAST_MASK = 0x8
+##CDQ_PREEMPHASIS = 0x1
+##CDQ_COPY_PERMITTED = 0x2
+##CDQ_DIGITAL_DATA = 0x4
+##CDQ_BROADCAST_USE = 0x8
+##
+##CDQ_MODE1 = 0x1
+##CDQ_MODE2 = 0x2
+##CDQ_MODE3 = 0x3
diff --git a/Lib/plat-irix5/CD.py b/Lib/plat-irix5/CD.py
new file mode 100755
index 0000000..9dee8a1
--- /dev/null
+++ b/Lib/plat-irix5/CD.py
@@ -0,0 +1,33 @@
+ERROR = 0
+NODISC = 1
+READY = 2
+PLAYING = 3
+PAUSED = 4
+STILL = 5
+
+AUDIO = 0
+PNUM = 1
+INDEX = 2
+PTIME = 3
+ATIME = 4
+CATALOG = 5
+IDENT = 6
+CONTROL = 7
+
+##CDDA_DATASIZE = 2352
+##CDDA_SUBCODESIZE = (sizeof(struct subcodeQ))
+##CDDA_BLOCKSIZE = (sizeof(struct cdframe))
+##CDDA_NUMSAMPLES = (CDDA_DATASIZE/2)
+##
+##CDQ_PREEMP_MASK = 0xd
+##CDQ_COPY_MASK = 0xb
+##CDQ_DDATA_MASK = 0xd
+##CDQ_BROADCAST_MASK = 0x8
+##CDQ_PREEMPHASIS = 0x1
+##CDQ_COPY_PERMITTED = 0x2
+##CDQ_DIGITAL_DATA = 0x4
+##CDQ_BROADCAST_USE = 0x8
+##
+##CDQ_MODE1 = 0x1
+##CDQ_MODE2 = 0x2
+##CDQ_MODE3 = 0x3