Changeset 1c565c0 for tests/src/io


Ignore:
Timestamp:
Dec 21, 2018, 8:06:24 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
Children:
4cb2d54, 6245b52
Parents:
cf4bc9f (diff), 131d1eb (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 'feature/sink_vorbis' into feature/sink_flac

Location:
tests/src/io
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tests/src/io/base-sink_custom.h

    rcf4bc9f r1c565c0  
    152152  close_temp_sink(sink_path, fd);
    153153
     154  // shouldn't crash on null (bypassed, only check del_aubio_sink)
     155  // del_aubio_sink_custom(NULL);
     156
    154157  return run_on_default_source_and_sink(base_main);
    155158}
  • tests/src/io/base-source_custom.h

    rcf4bc9f r1c565c0  
    142142  aubio_source_custom_close(s);
    143143
     144  // reading after close fails
     145  del_fvec(vec);
     146  vec = new_fvec(hop_size);
     147  aubio_source_custom_do(s, vec, &read);
     148  del_fmat(mat);
     149  mat = new_fmat(channels, hop_size);
     150  aubio_source_custom_do_multi(s, mat, &read);
     151
    144152  del_aubio_source_custom(s);
    145153  del_fmat(mat);
    146154  del_fvec(vec);
     155
     156  // shouldn't crash on null (bypassed, only check del_aubio_source)
     157  // del_aubio_source_custom(NULL);
    147158
    148159  return run_on_default_source(base_main);
  • tests/src/io/test-sink.c

    rcf4bc9f r1c565c0  
    148148  close_temp_sink(sink_path, fd);
    149149
     150  // shouldn't crash on null
     151  del_aubio_sink(NULL);
     152
    150153  return run_on_default_source_and_sink(main);
    151154}
  • tests/src/io/test-source.c

    rcf4bc9f r1c565c0  
    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);
    142150  del_fvec(vec);
    143151
     152  // shouldn't crash on null
     153  del_aubio_source(NULL);
     154
    144155  return run_on_default_source(main);
    145156}
Note: See TracChangeset for help on using the changeset viewer.