- Timestamp:
- May 17, 2006, 11:12:44 AM (19 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:
- 08f6688
- Parents:
- 5cc94db
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ext/sndfileio.c
r5cc94db re83c895 43 43 SF_INFO sfinfo; 44 44 AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo)); 45 46 if (! (f->handle = sf_open (outputname, SFM_READ, &sfinfo))) { 45 sfinfo.format = 0; 46 47 f->handle = sf_open (outputname, SFM_READ, &sfinfo); 48 49 if (f->handle == NULL) { 47 50 AUBIO_ERR("Unable to open input file %s.\n", outputname); 48 51 AUBIO_ERR("%s\n",sf_strerror (NULL)); /* libsndfile err msg */ … … 67 70 int aubio_sndfile_open_wo(aubio_sndfile_t * f, const char* inputname) { 68 71 SF_INFO sfinfo; 69 memset(&sfinfo, 0, sizeof (sfinfo));72 AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo)); 70 73 71 74 /* define file output spec */
Note: See TracChangeset
for help on using the changeset viewer.