Home
last modified time | relevance | path

Searched refs:to_filter (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/libsamplerate/
H A Dsrc_sinc.c347 SINC_FILTER *to_filter = (SINC_FILTER *) calloc (1, sizeof (SINC_FILTER)) ; in sinc_copy() local
348 if (!to_filter) in sinc_copy()
353 memcpy (to_filter, from_filter, sizeof (SINC_FILTER)) ; in sinc_copy()
354 to_filter->buffer = (float *) malloc (sizeof (float) * (from_filter->b_len + state->channels)) ; in sinc_copy()
355 if (!to_filter->buffer) in sinc_copy()
358 free (to_filter) ; in sinc_copy()
361 …memcpy (to_filter->buffer, from_filter->buffer, sizeof (float) * (from_filter->b_len + state->chan… in sinc_copy()
363 to->private_data = to_filter ; in sinc_copy()