File: AWARE.py

package info (click to toggle)
python 1.5.1-4
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 11,592 kB
  • ctags: 32,695
  • sloc: ansic: 90,267; python: 73,993; makefile: 2,423; lisp: 2,097; sh: 702
file content (54 lines) | stat: -rw-r--r-- 1,194 bytes parent folder | download | duplicates (8)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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