Changeset 69440b8 for src


Ignore:
Timestamp:
Apr 8, 2013, 11:22:19 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
dee4164
Parents:
58c24e1
Message:

src/io/source_sndfile.c: write 0 to all channels in case of short read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r58c24e1 r69440b8  
    224224
    225225  if (*read < s->hop_size) {
    226     for (i = 0; i < input_channels; i++) {
     226    for (i = 0; i < read_data->height; i++) {
    227227      for (j = *read; j < s->hop_size; j++) {
    228228        data[i][j] = 0.;
Note: See TracChangeset for help on using the changeset viewer.