Changeset b65230a


Ignore:
Timestamp:
Oct 1, 2017, 3:41:41 PM (6 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
Children:
9720945
Parents:
3f90b7a
Message:

src/aubio_priv.h: fix for double precision mode

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r3f90b7a rb65230a  
    136136#define aubio_ippsAddC        ippsAddC_32f
    137137#define aubio_ippsLn          ippsLn_32f_A21
    138 #define aubio_ippsMean        ippsMean_32f
    139 #define aubio_ippsSum         ippsSum_32f
     138#define aubio_ippsMean(a,b,c) ippsMean_32f(a, b, c, ippAlgHintFast)
     139#define aubio_ippsSum(a,b,c)  ippsSum_32f(a, b, c, ippAlgHintFast)
    140140#define aubio_ippsMax         ippsMax_32f
    141141#define aubio_ippsMin         ippsMin_32f
  • src/mathutils.c

    r3f90b7a rb65230a  
    161161  smpl_t tmp = 0.0;
    162162#if defined(HAVE_INTEL_IPP)
    163   aubio_ippsMean(s->data, (int)s->length, &tmp, ippAlgHintFast);
     163  aubio_ippsMean(s->data, (int)s->length, &tmp);
    164164  return tmp;
    165165#elif defined(HAVE_ACCELERATE)
     
    180180  smpl_t tmp = 0.0;
    181181#if defined(HAVE_INTEL_IPP)
    182   aubio_ippsSum(s->data, (int)s->length, &tmp, ippAlgHintFast);
     182  aubio_ippsSum(s->data, (int)s->length, &tmp);
    183183#elif defined(HAVE_ACCELERATE)
    184184  aubio_vDSP_sve(s->data, 1, &tmp, s->length);
Note: See TracChangeset for help on using the changeset viewer.