Changeset 1ddb9d1 for src/io/ioutils.c
- Timestamp:
- Dec 20, 2018, 7:17:58 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:
- 4edba9d
- Parents:
- 6f22ed5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/ioutils.c
r6f22ed5 r1ddb9d1 112 112 } 113 113 } 114 115 // destination matrix has more channels than the file 116 // copy channels from the source to extra output channels 117 if (read_data->height > source_channels) { 118 for (i = source_channels; i < read_data->height; i++) { 119 AUBIO_MEMCPY(read_data->data[i], read_data->data[i % source_channels], 120 sizeof(smpl_t) * read_data->length); 121 } 122 } 114 123 } 115 124
Note: See TracChangeset
for help on using the changeset viewer.