- Timestamp:
- Dec 17, 2018, 3:44:16 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- 0440778, 0e6ad10
- Parents:
- 7e2eef4 (diff), 05774ba3 (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:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/base-sink_custom.h
r7e2eef4 rd81e16d 117 117 if (aubio_sink_custom_preset_samplerate(s, samplerate)) return 1; 118 118 119 if (aubio_sink_custom_get_samplerate(s) != samplerate) return 1; 120 if (aubio_sink_custom_get_channels(s) != channels) return 1; 121 119 122 mat = new_fmat(channels, hop_size); 120 123 // check writing a vector with valid length 121 124 aubio_sink_custom_do_multi(s, mat, hop_size); 125 // check writing 0 frames 126 aubio_sink_custom_do_multi(s, mat, 0); 122 127 // check writing more than in the input 123 128 aubio_sink_custom_do_multi(s, mat, hop_size+1); -
tests/src/io/test-sink.c
r7e2eef4 rd81e16d 113 113 if (aubio_sink_preset_samplerate(s, samplerate)) return 1; 114 114 115 if (aubio_sink_get_samplerate(s) != samplerate) return 1; 116 if (aubio_sink_get_channels(s) != channels) return 1; 117 115 118 mat = new_fmat(channels, hop_size); 116 119 // check writing a vector with valid length 117 120 aubio_sink_do_multi(s, mat, hop_size); 121 // check writing 0 frames 122 aubio_sink_do_multi(s, mat, 0); 118 123 // check writing more than in the input 119 124 aubio_sink_do_multi(s, mat, hop_size+1); -
tests/src/io/test-sink_apple_audio.c
r7e2eef4 rd81e16d 15 15 #define aubio_sink_custom_preset_samplerate aubio_sink_apple_audio_preset_samplerate 16 16 #define aubio_sink_custom_preset_channels aubio_sink_apple_audio_preset_channels 17 #define aubio_sink_custom_get_samplerate aubio_sink_apple_audio_get_samplerate 18 #define aubio_sink_custom_get_channels aubio_sink_apple_audio_get_channels 17 19 #endif /* HAVE_SINK_APPLE_AUDIO */ 18 20 -
tests/src/io/test-sink_sndfile.c
r7e2eef4 rd81e16d 15 15 #define aubio_sink_custom_preset_samplerate aubio_sink_sndfile_preset_samplerate 16 16 #define aubio_sink_custom_preset_channels aubio_sink_sndfile_preset_channels 17 #define aubio_sink_custom_get_samplerate aubio_sink_sndfile_get_samplerate 18 #define aubio_sink_custom_get_channels aubio_sink_sndfile_get_channels 17 19 #endif /* HAVE_SNDFILE */ 18 20 -
tests/src/io/test-sink_wavwrite.c
r7e2eef4 rd81e16d 15 15 #define aubio_sink_custom_preset_samplerate aubio_sink_wavwrite_preset_samplerate 16 16 #define aubio_sink_custom_preset_channels aubio_sink_wavwrite_preset_channels 17 #define aubio_sink_custom_get_samplerate aubio_sink_wavwrite_get_samplerate 18 #define aubio_sink_custom_get_channels aubio_sink_wavwrite_get_channels 17 19 #endif /* HAVE_WAVWRITE */ 18 20
Note: See TracChangeset
for help on using the changeset viewer.