Changeset ae4d5de


Ignore:
Timestamp:
Sep 12, 2009, 2:26:17 PM (15 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:
3b2d32c
Parents:
4e19e5b
Message:

src/aubio_priv.h: add MIN and MAX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r4e19e5b rae4d5de  
    169169#define SQR(_a)   (_a*_a)
    170170
     171#define MAX(a,b)  ( a > b ? a : b)
     172#define MIN(a,b)  ( a < b ? a : b)
     173
    171174#define ELEM_SWAP(a,b) { register smpl_t t=(a);(a)=(b);(b)=t; }
    172175
Note: See TracChangeset for help on using the changeset viewer.