Changeset 3608:47a642518d0b in roaraudio for include/roaraudio.h
- Timestamp:
- 03/01/10 01:27:46 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio.h
r3566 r3608 2 2 3 3 /* 4 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008 , 20094 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 5 5 * 6 6 * This file is part of RoarAudio, … … 234 234 235 235 #ifdef DEBUG 236 #define ROAR_DBG(format, args...) fprintf(ROAR_DEBUG_OUTFH,ROAR_DBG_FULLPREFIX "DEBUG: " format "\n", __LINE__, ## args)236 #define ROAR_DBG(format, args...) roar_debug_msg_simple(ROAR_DBG_FULLPREFIX "DEBUG: " format "\n", __LINE__, ## args) 237 237 #else 238 238 #define ROAR_DBG(format, args...) 239 239 #endif 240 240 241 #define ROAR_ERR(format, args...) fprintf(ROAR_DEBUG_OUTFH,ROAR_DBG_FULLPREFIX "Error: " format "\n", __LINE__, ## args)242 #define ROAR_WARN(format, args...) fprintf(ROAR_DEBUG_OUTFH,ROAR_DBG_FULLPREFIX "Warning: " format "\n", __LINE__, ## args)241 #define ROAR_ERR(format, args...) roar_debug_msg_simple(ROAR_DBG_FULLPREFIX "Error: " format "\n", __LINE__, ## args) 242 #define ROAR_WARN(format, args...) roar_debug_msg_simple(ROAR_DBG_FULLPREFIX "Warning: " format "\n", __LINE__, ## args) 243 243 244 244 // INFO function: 245 245 #ifdef ROAR_DBG_INFOVAR 246 #define ROAR_INFO(format, level, args...) if ( (ROAR_DBG_INFOVAR) >= (level) ) fprintf(ROAR_DEBUG_OUTFH,ROAR_DBG_FULLPREFIX "Info: " format "\n", __LINE__, ## args)246 #define ROAR_INFO(format, level, args...) if ( (ROAR_DBG_INFOVAR) >= (level) ) roar_debug_msg_simple(ROAR_DBG_FULLPREFIX "Info: " format "\n", __LINE__, ## args) 247 247 #else 248 248 #define ROAR_INFO(format, level, args...)
Note: See TracChangeset
for help on using the changeset viewer.