changeset 14491:c42f1f714962

set ss_mul to number of channels. Works with all samples I found.
author reimar
date Thu, 13 Jan 2005 22:14:33 +0000
parents c6ac7e795262
children 34aed601f044
files libmpcodecs/ad_alaw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_alaw.c	Thu Jan 13 21:56:06 2005 +0000
+++ b/libmpcodecs/ad_alaw.c	Thu Jan 13 22:14:33 2005 +0000
@@ -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;
 }