mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-27 12:00:51 +00:00
53 lines
669 B
Modula-2
53 lines
669 B
Modula-2
autogen definitions utils.tpl;
|
|
|
|
float_type = {
|
|
name = float ;
|
|
};
|
|
|
|
float_type = {
|
|
name = double ;
|
|
};
|
|
|
|
/*----------------------------------*/
|
|
|
|
io_type = {
|
|
io_element = short ;
|
|
format_str = "\"% d\\n\"" ;
|
|
};
|
|
|
|
io_type = {
|
|
io_element = int ;
|
|
format_str = "\"% d\\n\"" ;
|
|
};
|
|
|
|
io_type = {
|
|
io_element = float ;
|
|
format_str = "\"% g\\n\"" ;
|
|
};
|
|
|
|
io_type = {
|
|
io_element = double ;
|
|
format_str = "\"% g\\n\"" ;
|
|
};
|
|
|
|
read_op = {
|
|
op_element = read ;
|
|
count_name = items ;
|
|
};
|
|
|
|
read_op = {
|
|
op_element = readf ;
|
|
count_name = frames ;
|
|
};
|
|
|
|
write_op = {
|
|
op_element = write ;
|
|
count_name = items ;
|
|
};
|
|
|
|
write_op = {
|
|
op_element = writef ;
|
|
count_name = frames ;
|
|
};
|
|
|