Changeset 985d5c4


Ignore:
Timestamp:
Apr 25, 2016, 5:42:35 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.