Changeset dd47431 for tests


Ignore:
Timestamp:
Dec 6, 2018, 1:49:25 PM (10 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/timestretch, master
Children:
dec789b, e45345d
Parents:
0056314 (diff), ed80243 (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 branch 'fix/awhitening'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/spectral/test-awhitening.c

    r0056314 rdd47431  
    4242
    4343  aubio_pvoc_t *pv = new_aubio_pvoc(win_size, hop_size);
     44  if (!pv) { err = 1; goto beach_pvoc; }
    4445
    4546  aubio_spectral_whitening_t *awhitening =
    4647    new_aubio_spectral_whitening (win_size, hop_size, samplerate);
     48  if (!awhitening) { err = 1; goto beach_awhitening; }
    4749
    4850  aubio_spectral_whitening_set_relax_time(awhitening, 20.);
     
    7274      source_path, sink_path);
    7375
     76  del_aubio_spectral_whitening(awhitening);
     77beach_awhitening:
     78  del_aubio_pvoc(pv);
     79beach_pvoc:
    7480  del_aubio_sink(o);
    7581beach_sink:
     
    7783beach_source:
    7884  del_fvec(vec);
     85  del_fvec(out);
     86  del_fvec(scale);
     87  del_cvec(fftgrain);
    7988beach_fvec:
    8089  return err;
Note: See TracChangeset for help on using the changeset viewer.