diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1993-02-10 14:10:56 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1993-02-10 14:10:56 (GMT) |
commit | e8a3c28f8d962ca0dff6f6ad82f335706c90fa58 (patch) | |
tree | 6c9b9f7c1900f834f39735f784b952fee6aec643 /Lib/irix5 | |
parent | 38a22baea90f0a840defe60bed46a3bc0b5973ca (diff) | |
download | cpython-e8a3c28f8d962ca0dff6f6ad82f335706c90fa58.zip cpython-e8a3c28f8d962ca0dff6f6ad82f335706c90fa58.tar.gz cpython-e8a3c28f8d962ca0dff6f6ad82f335706c90fa58.tar.bz2 |
Added new audio library functionality (getstatus, float sample fmts)
Diffstat (limited to 'Lib/irix5')
-rwxr-xr-x | Lib/irix5/AL.py | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/Lib/irix5/AL.py b/Lib/irix5/AL.py index e094f41..c4497ab 100755 --- a/Lib/irix5/AL.py +++ b/Lib/irix5/AL.py @@ -6,6 +6,10 @@ RATE_16000 = 16000 RATE_11025 = 11025 RATE_8000 = 8000 +SAMPFMT_TWOSCOMP= 1 +SAMPFMT_FLOAT = 32 +SAMPFMT_DOUBLE = 64 + SAMPLE_8 = 1 SAMPLE_16 = 2 # SAMPLE_24 is the low 24 bits of a long, sign extended to 32 bits @@ -18,8 +22,21 @@ INPUT_LINE = 0 INPUT_MIC = 1 INPUT_DIGITAL = 2 -HOLD, RELEASE = 0, 1 -ATTAIL, ATHEAD, ATMARK, ATTIME = 0, 1, 2, 3 +MONITOR_OFF = 0 +MONITOR_ON = 1 + +ERROR_NUMBER = 0 +ERROR_TYPE = 1 +ERROR_LOCATION_LSP = 2 +ERROR_LOCATION_MSP = 3 +ERROR_LENGTH = 4 + +ERROR_INPUT_UNDERFLOW = 0 +ERROR_OUTPUT_OVERFLOW = 1 + +# These seem to be not supported anymore: +##HOLD, RELEASE = 0, 1 +##ATTAIL, ATHEAD, ATMARK, ATTIME = 0, 1, 2, 3 DEFAULT_DEVICE = 1 @@ -35,6 +52,9 @@ OUTPUT_COUNT = 8 UNUSED_COUNT = 9 SYNC_INPUT_TO_AES = 10 SYNC_OUTPUT_TO_AES = 11 +MONITOR_CTL = 12 +LEFT_MONITOR_ATTEN = 13 +RIGHT_MONITOR_ATTEN = 14 ENUM_VALUE = 0 # only certain values are valid RANGE_VALUE = 1 # any value in range is valid |