[Mplayer-cvslog] CVS: main/libaf af_channels.c,1.11,1.12
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Jul 29 18:23:18 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libaf
In directory mail:/var2/tmp/cvs-serv4159/libaf
Modified Files:
af_channels.c
Log Message:
support for 24 bit audio
Index: af_channels.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_channels.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- af_channels.c 4 Mar 2004 19:39:16 -0000 1.11
+++ af_channels.c 29 Jul 2004 16:23:16 -0000 1.12
@@ -49,6 +49,21 @@
}
break;
}
+ case 3:{
+ int8_t* tin = (int8_t*)in;
+ int8_t* tout = (int8_t*)out;
+ tin += 3 * inos;
+ tout += 3 * outos;
+ len = len / ( 3 * ins);
+ while (len--) {
+ tout[0] = tin[0];
+ tout[1] = tin[1];
+ tout[2] = tin[2];
+ tin += 3 * ins;
+ tout += 3 * outs;
+ }
+ break;
+ }
case 4:{
int32_t* tin = (int32_t*)in;
int32_t* tout = (int32_t*)out;
More information about the MPlayer-cvslog
mailing list