diff libaf/af_export.c @ 14245:815f03b7cee5

removing AFMT_ dependancy
author alex
date Mon, 27 Dec 2004 17:30:15 +0000
parents 2f30dad6f490
children a9da2db9eb16
line wrap: on
line diff
--- a/libaf/af_export.c	Mon Dec 27 11:09:49 2004 +0000
+++ b/libaf/af_export.c	Mon Dec 27 17:30:15 2004 +0000
@@ -72,7 +72,7 @@
     // Accept only int16_t as input format (which sucks)
     af->data->rate   = ((af_data_t*)arg)->rate;
     af->data->nch    = ((af_data_t*)arg)->nch;
-    af->data->format = AF_FORMAT_SI | AF_FORMAT_NE;
+    af->data->format = AF_FORMAT_S16_NE;
     af->data->bps    = 2;
 	
     // If buffer length isn't set, set it to the default value
@@ -163,7 +163,6 @@
 */
 static void uninit( struct af_instance_s* af )
 {
-  int i;
   if (af->data){
     free(af->data);
     af->data = NULL;