view src/libsndfile-1.0.27/tests/utils.def @ 144:a0c5ef2265f5

This config script works better for libsndfile at least
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 09 Jan 2017 13:57:37 +0000
parents cd6cdf86811e
children
line wrap: on
line source
autogen definitions utils.tpl;

float_type = {
	name = float ;
	};

float_type = {
	name = double ;
	};

/*----------------------------------*/

io_type = {
	io_element	= short ;
	format_str		= "\"% d\"" ;
	};

io_type = {
	io_element	= int ;
	format_str		= "\"% d\"" ;
	};

io_type = {
	io_element	= float ;
	format_str		= "\"% g\"" ;
	};

io_type = {
	io_element 	= double ;
	format_str		= "\"% g\"" ;
	};

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 ;
	};