Changeset 1dfe409 for src/io/source_sndfile.c
- Timestamp:
- Mar 31, 2019, 11:12:40 PM (5 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- 76b6dd3
- Parents:
- 08246ee (diff), f55630c (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
-
src/io/source_sndfile.c
r08246ee r1dfe409 175 175 sf_count_t read_samples = aubio_sf_read_smpl (s->handle, s->scratch_data, 176 176 s->scratch_size); 177 uint_t read_length = read_samples / s->input_channels; 178 179 /* where to store de-interleaved data */ 180 smpl_t *ptr_data; 181 177 182 if (!s->handle) { 178 183 AUBIO_ERR("source_sndfile: could not read from %s (file was closed)\n", … … 182 187 } 183 188 184 uint_t read_length = read_samples / s->input_channels;185 186 /* where to store de-interleaved data */187 smpl_t *ptr_data;188 189 #ifdef HAVE_SAMPLERATE 189 190 if (s->ratio != 1) { … … 226 227 sf_count_t read_samples = aubio_sf_read_smpl (s->handle, s->scratch_data, 227 228 s->scratch_size); 229 uint_t read_length = read_samples / s->input_channels; 230 231 /* where to store de-interleaved data */ 232 smpl_t **ptr_data; 233 228 234 if (!s->handle) { 229 235 AUBIO_ERR("source_sndfile: could not read from %s (file was closed)\n", … … 233 239 } 234 240 235 uint_t read_length = read_samples / s->input_channels;236 237 /* where to store de-interleaved data */238 smpl_t **ptr_data;239 241 #ifdef HAVE_SAMPLERATE 240 242 if (s->ratio != 1) {
Note: See TracChangeset
for help on using the changeset viewer.