Ignore:
Timestamp:
Dec 21, 2018, 4:26:00 PM (6 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/timestretch, fix/ffmpeg5, master
Children:
6dc211b
Parents:
8797138
Message:

[tests] try reading after close in test-source.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/test-source.c

    r8797138 r6200052  
    138138  aubio_source_close(s);
    139139
     140  // reading after close fails
     141  del_fvec(vec);
     142  vec = new_fvec(hop_size);
     143  aubio_source_do(s, vec, &read);
     144  del_fmat(mat);
     145  mat = new_fmat(channels, hop_size);
     146  aubio_source_do_multi(s, mat, &read);
     147
    140148  del_aubio_source(s);
    141149  del_fmat(mat);
Note: See TracChangeset for help on using the changeset viewer.