summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5/AL.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-09-17 08:12:16 (GMT)
committerGuido van Rossum <guido@python.org>1991-09-17 08:12:16 (GMT)
commit2483cbb8ce432c2723d5a1010b5d96fd7b670d9a (patch)
treefa63c51aea033adc5f20c992f148ce466dafc441 /Lib/plat-irix5/AL.py
parent944e76fb3c6e1a51816f346b9138fc2cc7263467 (diff)
downloadcpython-2483cbb8ce432c2723d5a1010b5d96fd7b670d9a.zip
cpython-2483cbb8ce432c2723d5a1010b5d96fd7b670d9a.tar.gz
cpython-2483cbb8ce432c2723d5a1010b5d96fd7b670d9a.tar.bz2
Initial revision
Diffstat (limited to 'Lib/plat-irix5/AL.py')
-rwxr-xr-xLib/plat-irix5/AL.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/Lib/plat-irix5/AL.py b/Lib/plat-irix5/AL.py
new file mode 100755
index 0000000..e094f41
--- /dev/null
+++ b/Lib/plat-irix5/AL.py
@@ -0,0 +1,40 @@
+RATE_48000 = 48000
+RATE_44100 = 44100
+RATE_32000 = 32000
+RATE_22050 = 22050
+RATE_16000 = 16000
+RATE_11025 = 11025
+RATE_8000 = 8000
+
+SAMPLE_8 = 1
+SAMPLE_16 = 2
+ # SAMPLE_24 is the low 24 bits of a long, sign extended to 32 bits
+SAMPLE_24 = 4
+
+MONO = 1
+STEREO = 2
+
+INPUT_LINE = 0
+INPUT_MIC = 1
+INPUT_DIGITAL = 2
+
+HOLD, RELEASE = 0, 1
+ATTAIL, ATHEAD, ATMARK, ATTIME = 0, 1, 2, 3
+
+DEFAULT_DEVICE = 1
+
+INPUT_SOURCE = 0
+LEFT_INPUT_ATTEN = 1
+RIGHT_INPUT_ATTEN = 2
+INPUT_RATE = 3
+OUTPUT_RATE = 4
+LEFT_SPEAKER_GAIN = 5
+RIGHT_SPEAKER_GAIN = 6
+INPUT_COUNT = 7
+OUTPUT_COUNT = 8
+UNUSED_COUNT = 9
+SYNC_INPUT_TO_AES = 10
+SYNC_OUTPUT_TO_AES = 11
+
+ENUM_VALUE = 0 # only certain values are valid
+RANGE_VALUE = 1 # any value in range is valid