comparison libaf/af_format.c @ 23457:a124f3abc1ec

Replace implicit use of fast_memcpy via macro by explicit use to allow for future optimization.
author reimar
date Tue, 05 Jun 2007 14:27:54 +0000
parents 904e3f3f8bee
children 186626edd969
comparison
equal deleted inserted replaced
23456:1582297cc3d2 23457:a124f3abc1ec
285 default: 285 default:
286 // Change the number of bits 286 // Change the number of bits
287 if(c->bps != l->bps) 287 if(c->bps != l->bps)
288 change_bps(c->audio,l->audio,len,c->bps,l->bps); 288 change_bps(c->audio,l->audio,len,c->bps,l->bps);
289 else 289 else
290 memcpy(l->audio,c->audio,len*c->bps); 290 fast_memcpy(l->audio,c->audio,len*c->bps);
291 break; 291 break;
292 } 292 }
293 } 293 }
294 294
295 // Switch from cpu native endian to the correct endianess 295 // Switch from cpu native endian to the correct endianess