-
Notifications
You must be signed in to change notification settings - Fork 2
/
WavpackHeader.hx
37 lines (35 loc) · 939 Bytes
/
WavpackHeader.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
/*
** WavpackHeader.hx
**
** Copyright (c) 2011-2017 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
class WavpackHeader
{
public var ckID:Array<Int>;
public var ckSize:Int; // was uint32_t in C
public var version:Int;
public var track_no:Int; // was uchar in C
public var index_no:Int; // was uchar in C
public var total_samples:Int; // was uint32_t in C
public var block_index:Int; // was uint32_t in C
public var block_samples:Int; // was uint32_t in C
public var flags: Int; // was uint32_t in C
public var crc:Int; // was uint32_t in C
public function new()
{
ckID = new Array();
ckSize = 0;
version = 0;
track_no = 0;
index_no = 0;
total_samples = 0;
block_index = 0;
block_samples = 0;
crc = 0;
}
}