- Timestamp:
- Jul 2, 2020, 3:34:26 PM (4 years ago)
- Branches:
- feature/cnn, feature/crepe, fix/ffmpeg5, master
- Children:
- e836160
- Parents:
- 1ec59e4 (diff), 9c730b5 (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. - Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/aubio_priv.h
r1ec59e4 rfc9c60e 237 237 #define AUBIO_INF(...) aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " __VA_ARGS__) 238 238 #define AUBIO_MSG(...) aubio_log(AUBIO_LOG_MSG, __VA_ARGS__) 239 #define AUBIO_DBG(...)aubio_log(AUBIO_LOG_DBG, __VA_ARGS__)239 #define _AUBIO_DBG(...) aubio_log(AUBIO_LOG_DBG, __VA_ARGS__) 240 240 #define AUBIO_WRN(...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " __VA_ARGS__) 241 241 #else … … 243 243 #define AUBIO_INF(format, args...) aubio_log(AUBIO_LOG_INF, "AUBIO INFO: " format , ##args) 244 244 #define AUBIO_MSG(format, args...) aubio_log(AUBIO_LOG_MSG, format , ##args) 245 #define AUBIO_DBG(format, args...)aubio_log(AUBIO_LOG_DBG, format , ##args)245 #define _AUBIO_DBG(format, args...) aubio_log(AUBIO_LOG_DBG, format , ##args) 246 246 #define AUBIO_WRN(format, args...) aubio_log(AUBIO_LOG_WRN, "AUBIO WARNING: " format, ##args) 247 #endif 248 249 #ifdef DEBUG 250 #define AUBIO_DBG _AUBIO_DBG 251 #else 252 // disable debug output 253 #ifdef HAVE_C99_VARARGS_MACROS 254 #define AUBIO_DBG(...) {} 255 #else 256 #define AUBIO_DBG(format, args...) {} 257 #endif 247 258 #endif 248 259 -
src/musicutils.h
r1ec59e4 rfc9c60e 241 241 \param threshold threshold in dB SPL 242 242 243 \return 0 if level is under the given threshold, 1otherwise243 \return 1 if level is under the given threshold, 0 otherwise 244 244 245 245 */
Note: See TracChangeset
for help on using the changeset viewer.