
Chris@0: autogen definitions pcm_test.tpl;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "bits_8" ;
Chris@0: 	item_count	= 127 ;
Chris@0: 	short_func	= "((k * ((k % 2) ? 1 : -1)) << 8)" ;
Chris@0: 	int_func	= "((k * ((k % 2) ? 1 : -1)) << 24)" ;
Chris@0: 	float_func	= "(k * ((k % 2) ? 1 : -1))" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "bits_16" ;
Chris@0: 	item_count	= 1024 ;
Chris@0: 	short_func	= "(k * ((k % 2) ? 3 : -3))" ;
Chris@0: 	int_func	= "((k * ((k % 2) ? 3 : -3)) << 16)" ;
Chris@0: 	float_func	= "(k * ((k % 2) ? 3 : -3))" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "bits_24" ;
Chris@0: 	item_count	= 1024 ;
Chris@0: 	short_func	= "(k * ((k % 2) ? 3 : -3))" ;
Chris@0: 	int_func	= "((k * ((k % 2) ? 3333 : -3333)) << 8)" ;
Chris@0: 	float_func	= "(k * ((k % 2) ? 3333 : -3333))" ;
Chris@0: 	} ;
Chris@0: 
Chris@0: data_type = {
Chris@0: 	name		= "bits_32" ;
Chris@0: 	item_count	= 1024 ;
Chris@0: 	short_func	= "(k * ((k % 2) ? 3 : -3))" ;
Chris@0: 	int_func	= "(k * ((k % 2) ? 333333 : -333333))" ;
Chris@0: 	float_func	= "(k * ((k % 2) ? 333333 : -333333))" ;
Chris@0: 	} ;
Chris@0: 




