- Timestamp:
- Mar 6, 2013, 4:07:00 PM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 4a67c12
- Parents:
- e76eaf1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/test-source.c
re76eaf1 r7606d23 29 29 30 30 fvec_t *vec = new_fvec(hop_size); 31 31 32 aubio_source_t* s = new_aubio_source(source_path, samplerate, hop_size); 33 if (!s) { err = 1; goto beach; } 34 32 35 if (samplerate == 0 ) samplerate = aubio_source_get_samplerate(s); 33 34 if (!s) { err = 1; goto beach; }35 36 36 37 do { … … 43 44 n_frames / hop_size, source_path); 44 45 46 del_aubio_source (s); 45 47 beach: 46 del_aubio_source (s);47 48 del_fvec (vec); 48 49
Note: See TracChangeset
for help on using the changeset viewer.