comparison libmpcodecs/ad_libvorbis.c @ 16183:8c342c68f665

tremor uses integer types
author rathann
date Sat, 06 Aug 2005 15:43:54 +0000
parents 2071633f9bdc
children e13c1bce5ad5
comparison
equal deleted inserted replaced
16182:99988abe7afb 16183:8c342c68f665
216 216
217 static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen) 217 static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
218 { 218 {
219 int len = 0; 219 int len = 0;
220 int samples; 220 int samples;
221 #ifdef TREMOR
222 ogg_int32_t **pcm;
223 #else
221 float **pcm; 224 float **pcm;
225 #endif
222 float scale; 226 float scale;
223 struct ov_struct_st *ov = sh->context; 227 struct ov_struct_st *ov = sh->context;
224 while(len < minlen) { 228 while(len < minlen) {
225 while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){ 229 while((samples=vorbis_synthesis_pcmout(&ov->vd,&pcm))<=0){
226 ogg_packet op; 230 ogg_packet op;