- Timestamp:
- Sep 5, 2015, 11:43:22 AM (9 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:
- 385a06e2
- Parents:
- 70ba6dd
- Location:
- src/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/sink_sndfile.c
r70ba6dd ra65d37a 126 126 AUBIO_ERR("sink_sndfile: Failed opening %s. %s\n", s->path, sf_strerror (NULL)); 127 127 return AUBIO_FAIL; 128 } 128 } 129 129 130 130 s->scratch_size = s->max_size*s->channels; … … 141 141 142 142 void aubio_sink_sndfile_do(aubio_sink_sndfile_t *s, fvec_t * write_data, uint_t write){ 143 uint_t i, j, 143 uint_t i, j, channels = s->channels; 144 144 int nsamples = 0; 145 145 smpl_t *pwrite; … … 171 171 172 172 void aubio_sink_sndfile_do_multi(aubio_sink_sndfile_t *s, fmat_t * write_data, uint_t write){ 173 uint_t i, j, 173 uint_t i, j, channels = s->channels; 174 174 int nsamples = 0; 175 175 smpl_t *pwrite; -
src/io/source_sndfile.c
r70ba6dd ra65d37a 91 91 AUBIO_ERR("source_sndfile: Failed opening %s: %s\n", s->path, sf_strerror (NULL)); 92 92 goto beach; 93 } 93 } 94 94 95 95 /* get input specs */
Note: See TracChangeset
for help on using the changeset viewer.