summaryrefslogtreecommitdiffstats
path: root/Lib/sunos4/SUNAUDIODEV.py
blob: b66610d903ef424842c5a1486d21ad9f6c1e2157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Symbolic constants for use with sunaudiodev module
# The names are the same as in audioio.h with the leading AUDIO_
# removed.

# Not all values are supported on all releases of SunOS.

# Encoding types, for fields i_encoding and o_encoding

ENCODING_NONE = 0			# no encoding assigned
ENCODING_ULAW = 1			# u-law encoding
ENCODING_ALAW = 2			# A-law encoding
ENCODING_LINEAR = 3			# Linear PCM encoding

# Gain ranges for i_gain, o_gain and monitor_gain

MIN_GAIN = 0				# minimum gain value
MAX_GAIN = 255				# maximum gain value

# Balance values for i_balance and o_balance

LEFT_BALANCE = 0			# left channel only
MID_BALANCE = 32			# equal left/right channel
RIGHT_BALANCE = 64			# right channel only
BALANCE_SHIFT = 3

# Port names for i_port and o_port

PORT_A = 1
PORT_B = 2
PORT_C = 3
PORT_D = 4

SPEAKER = 0x01				# output to built-in speaker
HEADPHONE = 0x02			# output to headphone jack
LINE_OUT = 0x04				# output to line out

MICROPHONE = 0x01			# input from microphone
LINE_IN = 0x02				# input from line in
wrap'>Commit message (Expand)AuthorAgeFilesLines * Update copyright headers (#2184)Larry Knox2022-11-011-1/+0 * Develop clang 13 format (#1933)Allen Byrne2022-07-261-2/+2 * Update license url (#332)Larry Knox2021-02-171-1/+1 * Add flag to H5CX_pop that allow setting the properties to return to applicati...Quincey Koziol2020-12-011-2/+2 * Clang-format of source filesAllen Byrne2020-09-301-54/+39 * Merge remote-tracking branch 'origin/develop' into namespace_cleanup_01Quincey Koziol2020-08-071-0/+33 |\ | * Squash merge of file locking fixesDana Robinson2020-08-031-0/+33 * | Clean up private / package / static namespace issues (function naming, whichQuincey Koziol2020-08-061-1/+1 |/ * Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-0/+34 * VOL FEATUREDana Robinson2018-10-101-4/+5 * Normalization with vol_integration (test code and H5Xtest.c)Dana Robinson2018-09-201-55/+50 * Cleanup API context function usage.Quincey Koziol2018-03-191-12/+18 * Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-1/+14 * Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5...Larry Knox2017-04-251-6/+4 * Switch to new, more scalable, metadata cache entry tagging.Quincey Koziol2016-11-071-0/+34 * [svn-r29081] - merge in the phdf5_metadata_opt/ branch with the collective me...Mohamad Chaarawi2016-02-101-1/+1 * [svn-r28950] - remove META_FLUSH_COLLECTIVELY property for delayed sanity che...Mohamad Chaarawi2016-01-211-1/+1 * [svn-r27768] Description:Quincey Koziol2015-09-141-4/+4 * [svn-r21923] Description:Quincey Koziol2012-02-101-1/+1 * [svn-r21919] Description:Quincey Koziol2012-02-091-3/+3 * [svn-r17365] Description:Quincey Koziol2009-08-151-1/+1 * [svn-r17029] Description:Quincey Koziol2009-06-111-0/+33 * [svn-r16710] Purpose: Fix bug 1423Neil Fortner2009-04-081-0/+40 * [svn-r15510] Description:Quincey Koziol2008-08-211-1/+1 * [svn-r13253] Updated all C and C++ style source code files with the THG copyr...Albert Cheng2007-02-07