Guido van Rossum | 2483cbb | 1991-09-17 08:12:16 +0000 | [diff] [blame] | 1 | RATE_48000 = 48000 |
| 2 | RATE_44100 = 44100 |
| 3 | RATE_32000 = 32000 |
| 4 | RATE_22050 = 22050 |
| 5 | RATE_16000 = 16000 |
| 6 | RATE_11025 = 11025 |
| 7 | RATE_8000 = 8000 |
| 8 | |
Jack Jansen | e8a3c28 | 1993-02-10 14:10:56 +0000 | [diff] [blame] | 9 | SAMPFMT_TWOSCOMP= 1 |
| 10 | SAMPFMT_FLOAT = 32 |
| 11 | SAMPFMT_DOUBLE = 64 |
| 12 | |
Guido van Rossum | 2483cbb | 1991-09-17 08:12:16 +0000 | [diff] [blame] | 13 | SAMPLE_8 = 1 |
| 14 | SAMPLE_16 = 2 |
| 15 | # SAMPLE_24 is the low 24 bits of a long, sign extended to 32 bits |
| 16 | SAMPLE_24 = 4 |
| 17 | |
| 18 | MONO = 1 |
| 19 | STEREO = 2 |
Guido van Rossum | 25bcdb0 | 1996-12-13 00:19:15 +0000 | [diff] [blame] | 20 | QUADRO = 4 # 4CHANNEL is not a legal Python name |
Guido van Rossum | 2483cbb | 1991-09-17 08:12:16 +0000 | [diff] [blame] | 21 | |
| 22 | INPUT_LINE = 0 |
| 23 | INPUT_MIC = 1 |
| 24 | INPUT_DIGITAL = 2 |
| 25 | |
Jack Jansen | e8a3c28 | 1993-02-10 14:10:56 +0000 | [diff] [blame] | 26 | MONITOR_OFF = 0 |
| 27 | MONITOR_ON = 1 |
| 28 | |
| 29 | ERROR_NUMBER = 0 |
| 30 | ERROR_TYPE = 1 |
| 31 | ERROR_LOCATION_LSP = 2 |
| 32 | ERROR_LOCATION_MSP = 3 |
| 33 | ERROR_LENGTH = 4 |
| 34 | |
| 35 | ERROR_INPUT_UNDERFLOW = 0 |
| 36 | ERROR_OUTPUT_OVERFLOW = 1 |
| 37 | |
| 38 | # These seem to be not supported anymore: |
| 39 | ##HOLD, RELEASE = 0, 1 |
| 40 | ##ATTAIL, ATHEAD, ATMARK, ATTIME = 0, 1, 2, 3 |
Guido van Rossum | 2483cbb | 1991-09-17 08:12:16 +0000 | [diff] [blame] | 41 | |
| 42 | DEFAULT_DEVICE = 1 |
| 43 | |
| 44 | INPUT_SOURCE = 0 |
| 45 | LEFT_INPUT_ATTEN = 1 |
| 46 | RIGHT_INPUT_ATTEN = 2 |
| 47 | INPUT_RATE = 3 |
| 48 | OUTPUT_RATE = 4 |
| 49 | LEFT_SPEAKER_GAIN = 5 |
| 50 | RIGHT_SPEAKER_GAIN = 6 |
| 51 | INPUT_COUNT = 7 |
| 52 | OUTPUT_COUNT = 8 |
| 53 | UNUSED_COUNT = 9 |
| 54 | SYNC_INPUT_TO_AES = 10 |
| 55 | SYNC_OUTPUT_TO_AES = 11 |
Jack Jansen | e8a3c28 | 1993-02-10 14:10:56 +0000 | [diff] [blame] | 56 | MONITOR_CTL = 12 |
| 57 | LEFT_MONITOR_ATTEN = 13 |
| 58 | RIGHT_MONITOR_ATTEN = 14 |
Guido van Rossum | 2483cbb | 1991-09-17 08:12:16 +0000 | [diff] [blame] | 59 | |
| 60 | ENUM_VALUE = 0 # only certain values are valid |
| 61 | RANGE_VALUE = 1 # any value in range is valid |