[MPlayer-cvslog] CVS: main/libmpcodecs ad_alaw.c,1.4,1.5
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Jan 13 23:14:36 CET 2005
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv18261/libmpcodecs
Modified Files:
ad_alaw.c
Log Message:
set ss_mul to number of channels. Works with all samples I found.
Index: ad_alaw.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_alaw.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ad_alaw.c 21 Sep 2004 20:34:46 -0000 1.4
+++ ad_alaw.c 13 Jan 2005 22:14:33 -0000 1.5
@@ -33,7 +33,7 @@
{
sh->audio_out_minsize=2048;
sh->ds->ss_div = 1; // 1 samples/packet
- sh->ds->ss_mul = 1; // 1 bytes/packet
+ sh->ds->ss_mul = sh->wf->nChannels; // bytes/packet
return 1;
}
More information about the MPlayer-cvslog
mailing list