Changeset 1c565c0 for tests/src/io
- Timestamp:
- Dec 21, 2018, 8:06:24 PM (6 years ago)
- 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. - Location:
- tests/src/io
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/base-sink_custom.h
rcf4bc9f r1c565c0 152 152 close_temp_sink(sink_path, fd); 153 153 154 // shouldn't crash on null (bypassed, only check del_aubio_sink) 155 // del_aubio_sink_custom(NULL); 156 154 157 return run_on_default_source_and_sink(base_main); 155 158 } -
tests/src/io/base-source_custom.h
rcf4bc9f r1c565c0 142 142 aubio_source_custom_close(s); 143 143 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 144 152 del_aubio_source_custom(s); 145 153 del_fmat(mat); 146 154 del_fvec(vec); 155 156 // shouldn't crash on null (bypassed, only check del_aubio_source) 157 // del_aubio_source_custom(NULL); 147 158 148 159 return run_on_default_source(base_main); -
tests/src/io/test-sink.c
rcf4bc9f r1c565c0 148 148 close_temp_sink(sink_path, fd); 149 149 150 // shouldn't crash on null 151 del_aubio_sink(NULL); 152 150 153 return run_on_default_source_and_sink(main); 151 154 } -
tests/src/io/test-source.c
rcf4bc9f r1c565c0 138 138 aubio_source_close(s); 139 139 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 140 148 del_aubio_source(s); 141 149 del_fmat(mat); 142 150 del_fvec(vec); 143 151 152 // shouldn't crash on null 153 del_aubio_source(NULL); 154 144 155 return run_on_default_source(main); 145 156 }
Note: See TracChangeset
for help on using the changeset viewer.