-
Notifications
You must be signed in to change notification settings - Fork 0
/
WavpackStream.hx
77 lines (69 loc) · 2.09 KB
/
WavpackStream.hx
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
** WavpackStream.hx
**
** Copyright (c) 2008 - 2013 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
class WavpackStream
{
public var wphdr : WavpackHeader;
public var wvbits : Bitstream;
public var w : WordsData;
public var num_terms : Int;
public var mute_error : Int;
public var sample_index : Float;
public var crc : Int;
public var int32_sent_bits : Int;
public var int32_zeros : Int;
public var int32_ones : Int;
public var int32_dups : Int;
public var float_flags : Int;
public var float_shift : Int;
public var float_max_exp : Int;
public var float_norm_exp : Int;
public var dp1 : DecorrPass;
public var dp2 : DecorrPass;
public var dp3 : DecorrPass;
public var dp4 : DecorrPass;
public var dp5 : DecorrPass;
public var dp6 : DecorrPass;
public var dp7 : DecorrPass;
public var dp8 : DecorrPass;
public var dp9 : DecorrPass;
public var dp10 : DecorrPass;
public var dp11 : DecorrPass;
public var dp12 : DecorrPass;
public var dp13 : DecorrPass;
public var dp14 : DecorrPass;
public var dp15 : DecorrPass;
public var dp16 : DecorrPass;
public var decorr_passes : Array < DecorrPass >;
public function new()
{
wphdr = new WavpackHeader();
wvbits = new Bitstream();
w = new WordsData();
num_terms = 0;
dp1 = new DecorrPass();
dp2 = new DecorrPass();
dp3 = new DecorrPass();
dp4 = new DecorrPass();
dp5 = new DecorrPass();
dp6 = new DecorrPass();
dp7 = new DecorrPass();
dp8 = new DecorrPass();
dp9 = new DecorrPass();
dp10 = new DecorrPass();
dp11 = new DecorrPass();
dp12 = new DecorrPass();
dp13 = new DecorrPass();
dp14 = new DecorrPass();
dp15 = new DecorrPass();
dp16 = new DecorrPass();
decorr_passes = [ dp1, dp2, dp3, dp4, dp5, dp6, dp7, dp8, dp9, dp10, dp11, dp12, dp13, dp14, dp15, dp16 ];
}
}