[MPlayer-cvslog] r19204 - trunk/libaf/af_karaoke.c

reynaldo subversion at mplayerhq.hu
Thu Jul 27 20:35:40 CEST 2006


Author: reynaldo
Date: Thu Jul 27 20:35:40 2006
New Revision: 19204

Modified:
   trunk/libaf/af_karaoke.c

Log:
fix wrong and unrelated change done in r19199

Modified: trunk/libaf/af_karaoke.c
==============================================================================
--- trunk/libaf/af_karaoke.c	(original)
+++ trunk/libaf/af_karaoke.c	Thu Jul 27 20:35:40 2006
@@ -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;
 



More information about the MPlayer-cvslog mailing list