Changeset b257b60 for src/aubio_priv.h


Ignore:
Timestamp:
Aug 12, 2015, 7:21:38 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:
60fc05b
Parents:
3a1a5d6 (diff), 7b2d740 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'develop' into notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r3a1a5d6 rb257b60  
    129129#define AUBIO_SPRINTF                sprintf
    130130
    131 /* Libc shortcuts */
     131/* pi and 2*pi */
     132#ifndef M_PI
     133#define PI         (3.14159265358979323846)
     134#else
    132135#define PI         (M_PI)
     136#endif
    133137#define TWO_PI     (PI*2.)
    134138
     
    214218#define SAFE_LOG(f)   LOG(CEIL_DENORMAL(f))
    215219
     220/** silence unused parameter warning by adding an attribute */
     221#if defined(__GNUC__)
    216222#define UNUSED __attribute__((unused))
     223#else
     224#define UNUSED
     225#endif
    217226
    218227#endif /* _AUBIO__PRIV_H */
Note: See TracChangeset for help on using the changeset viewer.