- Timestamp:
- Dec 17, 2018, 3:14:39 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 12e5d89, d81e16d
- Parents:
- 0512fca
- Location:
- tests/src/io
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/base-sink_custom.h
r0512fca r05774ba3 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
r0512fca r05774ba3 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
r0512fca r05774ba3 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
r0512fca r05774ba3 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
r0512fca r05774ba3 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.