blob: 7e46871f327ca3bab7742a71f3219cd8208749f9 [file] [log] [blame]
Guido van Rossum73b715e1992-06-03 16:50:01 +00001# Symbolic constants for use with sunaudiodev module
2# The names are the same as in audioio.h with the leading AUDIO_
3# removed.
4
5# Encoding types, for fields i_encoding and o_encoding
6
7ENCODING_ULAW = 1
8ENCODING_ALAW = 2
9
10# Gain ranges for i_gain, o_gain and monitor_gain
11
12MIN_GAIN = 0
13MAX_GAIN = 255
14
15# Port names for i_port and o_port
16
17PORT_A = 1
18PORT_B = 2
19PORT_C = 3
20PORT_D = 4
21
22SPEAKER = PORT_A
23HEADPHONE = PORT_B
24
25MICROPHONE = PORT_A