Ignore:
Timestamp:
Feb 11, 2013, 11:06:28 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
050a8f3
Parents:
5314432 (diff), 88fc249 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from develop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/temporal/resampler.c

    r5314432 rfc117d0  
    4343  int error = 0;
    4444  s->stat = src_new (type, 1, &error);  /* only one channel */
     45  if (error) {
     46    AUBIO_ERR ("Failed creating resampler: %s\n", src_strerror (error));
     47    del_aubio_resampler(s);
     48    return NULL;
     49  }
    4550  s->proc = AUBIO_NEW (SRC_DATA);
    46   if (error)
    47     AUBIO_ERR ("%s\n", src_strerror (error));
    4851  s->ratio = ratio;
    4952  return s;
     
    5356del_aubio_resampler (aubio_resampler_t * s)
    5457{
    55   src_delete (s->stat);
     58  if (s->stat) src_delete (s->stat);
    5659  AUBIO_FREE (s->proc);
    5760  AUBIO_FREE (s);
Note: See TracChangeset for help on using the changeset viewer.