summaryrefslogtreecommitdiffstats
path: root/Lib/irix5
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1993-02-05 13:43:44 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1993-02-05 13:43:44 (GMT)
commit4ab6ff80ffd847c7bb98ddc50a9a6c21e8d45744 (patch)
treefbece7336f1b3bb3a0aea6677be373b2cc9e35ed /Lib/irix5
parent6f5afc9a73d7388bf96df69323589f2f82c110ba (diff)
downloadcpython-4ab6ff80ffd847c7bb98ddc50a9a6c21e8d45744.zip
cpython-4ab6ff80ffd847c7bb98ddc50a9a6c21e8d45744.tar.gz
cpython-4ab6ff80ffd847c7bb98ddc50a9a6c21e8d45744.tar.bz2
AWARE.py: New file with definitions for Aware Inc.'s compression
algorithms in cl module. aifc.py: fixed a small bug.
Diffstat (limited to 'Lib/irix5')
-rwxr-xr-xLib/irix5/AWARE.py54
1 files changed, 54 insertions, 0 deletions
diff --git a/Lib/irix5/AWARE.py b/Lib/irix5/AWARE.py
new file mode 100755
index 0000000..30be50b
--- /dev/null
+++ b/Lib/irix5/AWARE.py
@@ -0,0 +1,54 @@
+#
+# Copyright (c) 1992 Aware, Inc. All rights reserved.
+#
+# Copyright Unpublished, Aware Inc. All Rights Reserved.
+# This software contains proprietary and confidential
+# information of Aware, Inc. Use, disclosure or
+# reproduction is prohibited without the prior express
+# written consent of Aware, Inc.
+#
+#
+
+#
+# awareAudio.h - Aware Compression Library Parameter Header
+#
+# 01/21/92 Original Version by Brian Knittel and Jonathon Devine
+#
+
+import CL
+
+# Aware Audio Specific Parameters - For both MPEG Audio and Multirate
+CL.CHANNEL_POLICY = CL.NUMBER_OF_PARAMS + 0
+CL.NOISE_MARGIN = CL.NUMBER_OF_PARAMS + 1
+CL.BITRATE_POLICY = CL.NUMBER_OF_PARAMS + 2
+
+# Additional parameters for MPEG Audio
+CL.BITRATE_TARGET = CL.NUMBER_OF_PARAMS + 3
+CL.LAYER = CL.NUMBER_OF_PARAMS + 4
+
+# read/write for compression configuration
+# read for state during compression/decompression
+
+#
+# Channel Policy
+#
+AWCMP_STEREO = 1
+AWCMP_JOINT_STEREO = 2
+AWCMP_INDEPENDENT = 3
+
+#
+# read/write for compression configuration,
+# read for state during compression
+#
+#
+# Bit-rate Policy
+#
+AWCMP_FIXED_RATE = 1
+AWCMP_CONST_QUAL = 2
+AWCMP_LOSSLESS = 4
+
+#
+# Layer values
+#
+AWCMP_MPEG_LAYER_I = 1
+AWCMP_MPEG_LAYER_II = 2