Changeset e8c4de2 for tests/src/io/test-source.c
- Timestamp:
- Dec 6, 2013, 8:39:41 PM (10 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:
- cc6b221
- Parents:
- 9ec63a0 (diff), 7816f2b (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/test-source.c
r9ec63a0 re8c4de2 28 28 char_t *source_path = argv[1]; 29 29 30 31 aubio_source_t* s = 32 new_aubio_source(source_path, samplerate, hop_size); 33 if (!s) { err = 1; goto beach; } 30 34 fvec_t *vec = new_fvec(hop_size); 31 32 aubio_source_t* s = new_aubio_source(source_path, samplerate, hop_size);33 if (!s) { err = 1; goto beach; }34 35 35 36 if (samplerate == 0 ) samplerate = aubio_source_get_samplerate(s); … … 44 45 n_frames / hop_size, source_path); 45 46 47 del_fvec (vec); 46 48 del_aubio_source (s); 47 49 beach: 48 del_fvec (vec);49 50 50 return err; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.