PortAudio  2.0
Defines

Real-time safe event trace logging facility for debugging. More...

Go to the source code of this file.

Defines

#define PaUtil_ResetTraceMessages()   /* noop */
 Clear the trace buffer.
#define PaUtil_AddTraceMessage(msg, data)   /* noop */
#define PaUtil_DumpTraceMessages()   /* noop */
 Print all messages in the trace buffer to stdout and clear the trace buffer.

Detailed Description

Real-time safe event trace logging facility for debugging.

Allows data to be logged to a fixed size trace buffer in a real-time execution context (such as at interrupt time). Each log entry consists of a message comprising a string pointer and an int. The trace buffer may be dumped to stdout later.

This facility is only active if PA_TRACE_REALTIME_EVENTS is set to 1, otherwise the trace functions expand to no-ops.


Define Documentation

#define PaUtil_AddTraceMessage (   msg,
  data 
)    /* noop */
PaUtil_DumpTraceMessages ( )    /* noop */

Print all messages in the trace buffer to stdout and clear the trace buffer.

Referenced by Pa_Terminate().

PaUtil_ResetTraceMessages ( )    /* noop */

Clear the trace buffer.

Referenced by Pa_Initialize().


Generated for PortAudio by  doxygen1.7.6.1