comparison libmpcodecs/ad_alaw.c @ 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 9d0b052c4f74
children e0a6fb06f058
comparison
equal deleted inserted replaced
14490:c6ac7e795262 14491:c42f1f714962
31 31
32 static int preinit(sh_audio_t *sh) 32 static int preinit(sh_audio_t *sh)
33 { 33 {
34 sh->audio_out_minsize=2048; 34 sh->audio_out_minsize=2048;
35 sh->ds->ss_div = 1; // 1 samples/packet 35 sh->ds->ss_div = 1; // 1 samples/packet
36 sh->ds->ss_mul = 1; // 1 bytes/packet 36 sh->ds->ss_mul = sh->wf->nChannels; // bytes/packet
37 return 1; 37 return 1;
38 } 38 }
39 39
40 static void uninit(sh_audio_t *sh) 40 static void uninit(sh_audio_t *sh)
41 { 41 {