Uninitialized file type would lead to __exit__ lookup failure when site.py
[python.git] / Lib / plat-irix5 / AL.py
blob3b43d2c8bc6f7037ce8fed34ea572770f38675fd
1 from warnings import warnpy3k
2 warnpy3k("the AL module has been removed in Python 3.0", stacklevel=2)
3 del warnpy3k
5 RATE_48000 = 48000
6 RATE_44100 = 44100
7 RATE_32000 = 32000
8 RATE_22050 = 22050
9 RATE_16000 = 16000
10 RATE_11025 = 11025
11 RATE_8000 = 8000
13 SAMPFMT_TWOSCOMP= 1
14 SAMPFMT_FLOAT = 32
15 SAMPFMT_DOUBLE = 64
17 SAMPLE_8 = 1
18 SAMPLE_16 = 2
19 # SAMPLE_24 is the low 24 bits of a long, sign extended to 32 bits
20 SAMPLE_24 = 4
22 MONO = 1
23 STEREO = 2
24 QUADRO = 4 # 4CHANNEL is not a legal Python name
26 INPUT_LINE = 0
27 INPUT_MIC = 1
28 INPUT_DIGITAL = 2
30 MONITOR_OFF = 0
31 MONITOR_ON = 1
33 ERROR_NUMBER = 0
34 ERROR_TYPE = 1
35 ERROR_LOCATION_LSP = 2
36 ERROR_LOCATION_MSP = 3
37 ERROR_LENGTH = 4
39 ERROR_INPUT_UNDERFLOW = 0
40 ERROR_OUTPUT_OVERFLOW = 1
42 # These seem to be not supported anymore:
43 ##HOLD, RELEASE = 0, 1
44 ##ATTAIL, ATHEAD, ATMARK, ATTIME = 0, 1, 2, 3
46 DEFAULT_DEVICE = 1
48 INPUT_SOURCE = 0
49 LEFT_INPUT_ATTEN = 1
50 RIGHT_INPUT_ATTEN = 2
51 INPUT_RATE = 3
52 OUTPUT_RATE = 4
53 LEFT_SPEAKER_GAIN = 5
54 RIGHT_SPEAKER_GAIN = 6
55 INPUT_COUNT = 7
56 OUTPUT_COUNT = 8
57 UNUSED_COUNT = 9
58 SYNC_INPUT_TO_AES = 10
59 SYNC_OUTPUT_TO_AES = 11
60 MONITOR_CTL = 12
61 LEFT_MONITOR_ATTEN = 13
62 RIGHT_MONITOR_ATTEN = 14
64 ENUM_VALUE = 0 # only certain values are valid
65 RANGE_VALUE = 1 # any value in range is valid