Definition in file taptdebug.h.
#include <cstdio>
Include dependency graph for taptdebug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | DODEBUG(level, args) |
| Print a debugging statement if the debugging level level is enabled. | |
| #define | EFENCE_INIT() enum {} |
| Print a message to stderr on static initialisation if EFENCE_DEBUG is enabled. | |
| #define | SETDEBUG(level) TAPTDBGLEV = level |
| Set the run-time debugging level to level. | |
Enumerations | |
| enum | DEBUG_FLAGS { DEBUG_NONE, DEBUG_ERROR, DEBUG_WARNING, DEBUG_NOTICE, DEBUG_FUNCTION, DEBUG_INFO, DEBUG_INTWARNINGS, DEBUG_INTERRUPT, DEBUG_ANY } |
| Debugging flags. More... | |
Functions | |
| int | taptaudio_debug_printf (const char *fmt,...) __attribute__((format(printf |
| Debugging printf function. | |
Variables | |
| FILE * | taptaudio_debug_file |
| The FILE* to output debugging statements to. | |
| unsigned long | TAPTDBGLEV |
| The debugging level, if not previously defined. | |
|
|
Value: do { if (TAPTDBGLEV >= DEBUG_ ## level) { \ taptaudio_debug_printf args ; \ fprintf(taptaudio_debug_file, " (%s:%d)\n", __FILE__, __LINE__ ) ; \ } } while (0) args needs to be in the form '("printf-format", ... / * args * /)' without the single quotes (but with the parentheses). Referenced by AudioSystem::AudioSystem(), AudioSystemImpl::AudioSystemImpl(), FileSample::FileSample(), AudioSystemImpl::freeSample(), AudioSystemMixerT::loadSample(), AudioSystemImpl::loadSample(), AudioSystemImpl::mixSample(), Recording::skipfill(), AudioSystemImpl::startRec(), AudioSystemImpl::stopRec(), and AudioSystemImpl::~AudioSystemImpl(). |
|
|
Print a message to stderr on static initialisation if EFENCE_DEBUG is enabled.
|
|
|
Set the run-time debugging level to level.
Referenced by AudioSystem::setDebugLevel(). |
|
|
Debugging flags.
Definition at line 25 of file taptdebug.h. |
|
||||||||||||
|
Debugging printf function.
|
|
|
The FILE* to output debugging statements to.
Definition at line 13 of file taptdebug.cpp. Referenced by AudioSystem::setDebugFile(), and taptaudio_debug_printf(). |
|
|
The debugging level, if not previously defined.
Definition at line 14 of file taptdebug.cpp. |
1.4.3