changeset 19199:ff3ed01e9043

fix wrong and unrelated change done in r19199
author reynaldo
date Thu, 27 Jul 2006 18:35:40 +0000
parents b137cea2650e
children 07769a1d06a9
files libaf/af_karaoke.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libaf/af_karaoke.c	Thu Jul 27 18:15:35 2006 +0000
+++ b/libaf/af_karaoke.c	Thu Jul 27 18:35:40 2006 +0000
@@ -23,7 +23,7 @@
 		af->data->rate	= ((af_data_t*)arg)->rate;
 		af->data->nch	= ((af_data_t*)arg)->nch;
 		af->data->format= AF_FORMAT_FLOAT_NE;
-		af->data->bps	= 8;
+		af->data->bps	= 4;
 		return af_test_output(af,(af_data_t*)arg);
 	}
 	return AF_UNKNOWN;
@@ -41,7 +41,7 @@
 {
 	af_data_t*	c	= data;		 // Current working data
 	float*		a	= c->audio;	 // Audio data
-	int			len	= c->len/8;	 // Number of samples in current audio block 
+	int			len	= c->len/4;	 // Number of samples in current audio block 
 	int			nch	= c->nch;	 // Number of channels
 	register int  i;