diff libaf/af.h @ 8674:93212da0032e

10l memory leak + bug fixes in ms to sample time conversion
author anders
date Tue, 31 Dec 2002 05:42:20 +0000
parents d6f40a06867b
children 558f0b1f45ee
line wrap: on
line diff
--- a/libaf/af.h	Tue Dec 31 02:37:36 2002 +0000
+++ b/libaf/af.h	Tue Dec 31 05:42:20 2002 +0000
@@ -187,9 +187,9 @@
    AF_OK if of and AF_ERROR if fail */
 int af_to_dB(int n, float* in, float* out, float k);
 /* Helper function used to convert from ms to sample time*/
-int af_from_ms(int n, float* in, float* out, int rate, float mi, float ma);
+int af_from_ms(int n, float* in, int* out, int rate, float mi, float ma);
 /* Helper function used to convert from sample time to ms */
-int af_to_ms(int n, float* in, float* out, int rate); 
+int af_to_ms(int n, int* in, float* out, int rate); 
 /* Helper function for testing the output format */
 int af_test_output(struct af_instance_s* af, af_data_t* out);