- Timestamp:
- Dec 23, 2018, 12:06:32 AM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- b03f1bf
- Parents:
- 9d609355
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio_priv.h
r9d609355 r26bd5e0 61 61 #ifdef HAVE_STRING_H 62 62 #include <string.h> 63 #endif 64 65 #ifdef HAVE_ERRNO_H 66 #include <errno.h> 63 67 #endif 64 68 … … 331 335 #endif 332 336 337 #ifdef HAVE_C99_VARARGS_MACROS 338 #define AUBIO_STRERR(...) \ 339 char errorstr[256]; \ 340 AUBIO_STRERROR(errno, errorstr, sizeof(errorstr)); \ 341 AUBIO_ERR(__VA_ARGS__) 342 #else 343 #define AUBIO_STRERR(format, args...) \ 344 char errorstr[256]; \ 345 AUBIO_STRERROR(errno, errorstr, sizeof(errorstr)); \ 346 AUBIO_ERR(format, ##args) 347 #endif 348 333 349 /* handy shortcuts */ 334 350 #define DB2LIN(g) (POW(10.0,(g)*0.05f))
Note: See TracChangeset
for help on using the changeset viewer.