forked from Mirrors/freeswitch
f210c27f43
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3761 d0543943-73ff-0310-b7d9-9358b9ac24b2
74 lines
1.4 KiB
Modula-2
74 lines
1.4 KiB
Modula-2
autogen definitions write_read_test.tpl;
|
|
|
|
data_type = {
|
|
type_name = char ;
|
|
data_type = short ;
|
|
data_field = s ;
|
|
error_func = CHAR_ERROR ;
|
|
format_char = "0x%X" ;
|
|
max_val = "32000.0" ;
|
|
max_error = "255" ;
|
|
} ;
|
|
|
|
data_type = {
|
|
type_name = short ;
|
|
data_type = short ;
|
|
data_field = s ;
|
|
error_func = INT_ERROR ;
|
|
format_char = "0x%X" ;
|
|
max_val = "32000.0" ;
|
|
max_error = "0" ;
|
|
} ;
|
|
|
|
data_type = {
|
|
type_name = "24bit" ;
|
|
data_type = int ;
|
|
data_field = i ;
|
|
error_func = TRIBYTE_ERROR ;
|
|
format_char = "0x%X" ;
|
|
max_val = "(1.0 * 0x7F000000)" ;
|
|
max_error = "256" ;
|
|
} ;
|
|
|
|
data_type = {
|
|
type_name = int ;
|
|
data_type = int ;
|
|
data_field = i ;
|
|
error_func = INT_ERROR ;
|
|
format_char = "0x%X" ;
|
|
max_val = "(1.0 * 0x7F000000)" ;
|
|
max_error = "0" ;
|
|
} ;
|
|
|
|
/* Lite remove start */
|
|
|
|
data_type = {
|
|
type_name = float ;
|
|
data_type = float ;
|
|
data_field = f ;
|
|
error_func = FLOAT_ERROR ;
|
|
format_char = "%g" ;
|
|
max_val = "1.0" ;
|
|
max_error = "0" ;
|
|
} ;
|
|
|
|
data_type = {
|
|
type_name = double ;
|
|
data_type = double ;
|
|
data_field = d ;
|
|
error_func = FLOAT_ERROR ;
|
|
format_char = "%g" ;
|
|
max_val = "1.0" ;
|
|
max_error = "0" ;
|
|
} ;
|
|
|
|
/* Lite remove end */
|
|
/*
|
|
** Do not edit or modify anything in this comment block.
|
|
** The arch-tag line is a file identity tag for the GNU Arch
|
|
** revision control system.
|
|
**
|
|
** arch-tag: 624d498a-9ea1-46b5-a386-c1c2261cfce3
|
|
*/
|
|
|