Changeset 1c565c0 for src/io/source_sndfile.c
- Timestamp:
- Dec 21, 2018, 8:06:24 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- 4cb2d54, 6245b52
- Parents:
- cf4bc9f (diff), 131d1eb (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
rcf4bc9f r1c565c0 175 175 sf_count_t read_samples = aubio_sf_read_smpl (s->handle, s->scratch_data, 176 176 s->scratch_size); 177 if (!s->handle) { 178 AUBIO_ERR("source_sndfile: could not read from %s (file was closed)\n", 179 s->path); 180 *read = 0; 181 return; 182 } 177 183 178 184 uint_t read_length = read_samples / s->input_channels; … … 220 226 sf_count_t read_samples = aubio_sf_read_smpl (s->handle, s->scratch_data, 221 227 s->scratch_size); 228 if (!s->handle) { 229 AUBIO_ERR("source_sndfile: could not read from %s (file was closed)\n", 230 s->path); 231 *read = 0; 232 return; 233 } 222 234 223 235 uint_t read_length = read_samples / s->input_channels;
Note: See TracChangeset
for help on using the changeset viewer.