Changeset b2e1740 for src


Ignore:
Timestamp:
Dec 20, 2018, 5:16:27 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/timestretch, fix/ffmpeg5, master
Children:
85e20fa
Parents:
0045668
Message:

[lib] add AUBIO_STRERROR macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r0045668 rb2e1740  
    325325#endif
    326326
     327#if !defined(_MSC_VER)
     328#define AUBIO_STRERROR(errno,buf,len) strerror_r(errno, buf, len)
     329#else
     330#define AUBIO_STRERROR(errno,buf,len) strerror_s(buf, len, errno)
     331#endif
     332
    327333/* handy shortcuts */
    328334#define DB2LIN(g) (POW(10.0,(g)*0.05f))
Note: See TracChangeset for help on using the changeset viewer.