Changeset 985d5c4 for src/io


Ignore:
Timestamp:
Apr 25, 2016, 5:42:35 PM (9 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:
6e765ed
Parents:
691791e
Message:

src/io/source_sndfile.c: approximate duration when resampling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r691791e r985d5c4  
    141141          s->input_samplerate, s->samplerate);
    142142    }
     143    s->duration = (uint_t)FLOOR(s->duration * s->ratio);
    143144  }
    144145#else
Note: See TracChangeset for help on using the changeset viewer.