- Timestamp:
- Dec 31, 2013, 12:26:14 AM (11 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:
- ddf04fd
- Parents:
- 78c21cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_sndfile.c
r78c21cf r67b05b4 64 64 aubio_source_sndfile_t * new_aubio_source_sndfile(char_t * path, uint_t samplerate, uint_t hop_size) { 65 65 aubio_source_sndfile_t * s = AUBIO_NEW(aubio_source_sndfile_t); 66 SF_INFO sfinfo; 66 67 67 68 if (path == NULL) { … … 83 84 84 85 // try opening the file, getting the info in sfinfo 85 SF_INFO sfinfo;86 86 AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo)); 87 87 s->handle = sf_open (s->path, SFM_READ, &sfinfo);
Note: See TracChangeset
for help on using the changeset viewer.