PortAudio 2.0
pa_debugprint.h File Reference

Go to the source code of this file.

Macros

#define PA_DEBUG(x)
 
#define PA_LOGAPI(x)
 
#define PA_LOGAPI_ENTER(functionName)
 
#define PA_LOGAPI_ENTER_PARAMS(functionName)
 
#define PA_LOGAPI_EXIT(functionName)
 
#define PA_LOGAPI_EXIT_PAERROR(functionName, result)
 
#define PA_LOGAPI_EXIT_T(functionName, resultFormatString, result)
 
#define PA_LOGAPI_EXIT_PAERROR_OR_T_RESULT(functionName, positiveResultFormatString, result)
 

Typedefs

typedef void(* PaUtilLogCallback) (const char *log)
 

Functions

void PaUtil_DebugPrint (const char *format,...)
 
void PaUtil_SetDebugPrintFunction (PaUtilLogCallback cb)
 

Macro Definition Documentation

◆ PA_DEBUG

◆ PA_LOGAPI

◆ PA_LOGAPI_ENTER

◆ PA_LOGAPI_ENTER_PARAMS

◆ PA_LOGAPI_EXIT

#define PA_LOGAPI_EXIT ( functionName)

◆ PA_LOGAPI_EXIT_PAERROR

◆ PA_LOGAPI_EXIT_PAERROR_OR_T_RESULT

#define PA_LOGAPI_EXIT_PAERROR_OR_T_RESULT ( functionName,
positiveResultFormatString,
result )

◆ PA_LOGAPI_EXIT_T

#define PA_LOGAPI_EXIT_T ( functionName,
resultFormatString,
result )

Typedef Documentation

◆ PaUtilLogCallback

typedef void(* PaUtilLogCallback) (const char *log)

Function Documentation

◆ PaUtil_DebugPrint()

void PaUtil_DebugPrint ( const char * format,
... )

References PA_LOG_BUF_SIZE, and VSNPRINTF.

◆ PaUtil_SetDebugPrintFunction()

void PaUtil_SetDebugPrintFunction ( PaUtilLogCallback cb)

Install user provided log function