# HG changeset patch # User reimar # Date 1105654473 0 # Node ID c42f1f7149625fbd1808d5920c9e7e2c437055fc # Parent c6ac7e795262c00e97c20757f08ee9e946750340 set ss_mul to number of channels. Works with all samples I found. diff -r c6ac7e795262 -r c42f1f714962 libmpcodecs/ad_alaw.c --- 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; }