Changeset 57405c1 for src


Ignore:
Timestamp:
Nov 30, 2016, 4:32:44 PM (8 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, sampler, yinfft+
Children:
7cc80b6
Parents:
31c306a
Message:

src/aubio_priv.h: add AUBIO_INF to print to stdout with header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/aubio_priv.h

    r31c306a r57405c1  
    182182#ifdef HAVE_C99_VARARGS_MACROS
    183183#define AUBIO_ERR(...)               aubio_log(AUBIO_LOG_ERR, "AUBIO ERROR: " __VA_ARGS__)
     184#define AUBIO_INF(...)               aubio_log(AUBIO_LOG_MSG, "AUBIO INFO: " __VA_ARGS__)
    184185#define AUBIO_MSG(...)               aubio_log(AUBIO_LOG_MSG, __VA_ARGS__)
    185186#define AUBIO_DBG(...)               aubio_log(AUBIO_LOG_DBG, __VA_ARGS__)
     
    187188#else
    188189#define AUBIO_ERR(format, args...)   aubio_log(stderr, "AUBIO ERROR: " format , ##args)
     190#define AUBIO_INF(format, args...)   aubio_log(stdout, "AUBIO INFO: " format , ##args)
    189191#define AUBIO_MSG(format, args...)   aubio_log(stdout, format , ##args)
    190192#define AUBIO_DBG(format, args...)   aubio_log(stderr, format , ##args)
Note: See TracChangeset for help on using the changeset viewer.