Changeset 44a3e5e for src


Ignore:
Timestamp:
May 16, 2016, 6:07:41 AM (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:
3c4fb67
Parents:
a6f9ebf
git-author:
Paul Brossier <piem@piem.org> (05/15/16 21:52:55)
git-committer:
Paul Brossier <piem@piem.org> (05/16/16 06:07:41)
Message:

src/onset/onset.c: fix for "conversion from 'smpl_t' to 'uint_t', possible loss of data"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    ra6f9ebf r44a3e5e  
    128128
    129129uint_t aubio_onset_set_minioi_s(aubio_onset_t * o, smpl_t minioi) {
    130   return aubio_onset_set_minioi (o, minioi * o->samplerate);
     130  return aubio_onset_set_minioi (o, (uint_t)ROUND(minioi * o->samplerate));
    131131}
    132132
Note: See TracChangeset for help on using the changeset viewer.