cfc7ce58dc89a031e62e30635e93c464be44e579
[Faustine.git] / interpretor / lib / src / libsndfile-1.0.25 / tests / write_read_test.def
1 autogen definitions write_read_test.tpl;
2
3 data_type = {
4 type_name = char ;
5 data_type = short ;
6 data_field = s ;
7 error_func = CHAR_ERROR ;
8 format_char = "0x%X" ;
9 max_val = "32000.0" ;
10 max_error = "255" ;
11 } ;
12
13 data_type = {
14 type_name = short ;
15 data_type = short ;
16 data_field = s ;
17 error_func = INT_ERROR ;
18 format_char = "0x%X" ;
19 max_val = "32000.0" ;
20 max_error = "0" ;
21 } ;
22
23 data_type = {
24 type_name = "24bit" ;
25 data_type = int ;
26 data_field = i ;
27 error_func = TRIBYTE_ERROR ;
28 format_char = "0x%X" ;
29 max_val = "(1.0 * 0x7F000000)" ;
30 max_error = "256" ;
31 } ;
32
33 data_type = {
34 type_name = int ;
35 data_type = int ;
36 data_field = i ;
37 error_func = INT_ERROR ;
38 format_char = "0x%X" ;
39 max_val = "(1.0 * 0x7F000000)" ;
40 max_error = "0" ;
41 } ;
42
43 /* Lite remove start */
44
45 data_type = {
46 type_name = float ;
47 data_type = float ;
48 data_field = f ;
49 error_func = FLOAT_ERROR ;
50 format_char = "%g" ;
51 max_val = "1.0" ;
52 max_error = "0" ;
53 } ;
54
55 data_type = {
56 type_name = double ;
57 data_type = double ;
58 data_field = d ;
59 error_func = FLOAT_ERROR ;
60 format_char = "%g" ;
61 max_val = "1.0" ;
62 max_error = "0" ;
63 } ;
64
65 /* Lite remove end */