- Timestamp:
- Dec 20, 2018, 7:05:41 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 2510248
- Parents:
- 7dea72f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_wavread.c
r7dea72f r6a253e8 378 378 } 379 379 } 380 if (total_wrote < length) { 381 for (i = end; i < length; i++) { 382 read_data->data[i] = 0.; 383 } 384 } 380 381 aubio_source_pad_output (read_data, total_wrote); 382 385 383 *read = total_wrote; 386 384 } … … 419 417 } 420 418 } 421 if (total_wrote < length) { 422 for (j = 0; j < read_data->height; j++) { 423 for (i = end; i < length; i++) { 424 read_data->data[j][i] = 0.; 425 } 426 } 427 } 419 420 aubio_source_pad_multi_output(read_data, s->input_channels, total_wrote); 421 428 422 *read = total_wrote; 429 423 }
Note: See TracChangeset
for help on using the changeset viewer.