filter(sp->data,temp,sp->data_length/sizeof(sample_t),fir_symetric); 
filter((int16 *)sp->data,temp,sp->data_length/sizeof(sample_t),fir_symetric); 
void antialiasing(Sample *sp, int32 output_rate ){    sample_t *temp;    int i;    float fir_symetric[ORDER];    float fir_coef[ORDER2];    float freq_cut;  /* cutoff frequency [0..1.0] FREQ_CUT/SAMP_FREQ*/     ctl->cmsg(CMSG_INFO, VERB_NOISY, "Antialiasing: Fsample=%iKHz",	      sp->sample_rate);     /* No oversampling  */    if (output_rate>=sp->sample_rate)	return;        freq_cut= (float) output_rate / (float) sp->sample_rate;    ctl->cmsg(CMSG_INFO, VERB_NOISY, "Antialiasing: cutoff=%f%%",	      freq_cut*100.);    designfir(fir_coef,freq_cut);        /* Make the filter symetric */    for (i = 0 ; i<ORDER2 ;i++) 	fir_symetric[ORDER-1 - i] = fir_symetric[i] = fir_coef[ORDER2-1 - i];        /* We apply the filter we have designed on a copy of the patch */    temp = safe_malloc(sp->data_length);    memcpy(temp,sp->data,sp->data_length);        filter(sp->data,temp,sp->data_length/sizeof(sample_t),fir_symetric);        free(temp);}
4357	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4357/cb293c4705e0c7b93d3269c59bcf9bbcab7f6278/filter.c/clean/filter.c