comparison libaf/af_resample.c @ 17366:934380353fd6

massive attack: mp_msg printf format fixes
author rathann
date Thu, 12 Jan 2006 20:04:36 +0000
parents 95bb94a930a3
children 32d611b59079
comparison
equal deleted inserted replaced
17365:e2ca21ac42ce 17366:934380353fd6
180 180
181 // If linear interpolation 181 // If linear interpolation
182 if((s->setup & RSMP_MASK) == RSMP_LIN){ 182 if((s->setup & RSMP_MASK) == RSMP_LIN){
183 s->pt=0LL; 183 s->pt=0LL;
184 s->step=((uint64_t)n->rate<<STEPACCURACY)/(uint64_t)af->data->rate+1LL; 184 s->step=((uint64_t)n->rate<<STEPACCURACY)/(uint64_t)af->data->rate+1LL;
185 af_msg(AF_MSG_DEBUG0,"[resample] Linear interpolation step: 0x%016X.\n", 185 af_msg(AF_MSG_DEBUG0,"[resample] Linear interpolation step: 0x%016"PRIX64".\n",
186 s->step); 186 s->step);
187 af->mul.n = af->data->rate; 187 af->mul.n = af->data->rate;
188 af->mul.d = n->rate; 188 af->mul.d = n->rate;
189 af_frac_cancel(&af->mul); 189 af_frac_cancel(&af->mul);
190 return rv; 190 return rv;