~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to lib-src/portaudio-v19/src/common/pa_util.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef PA_UTIL_H
2
2
#define PA_UTIL_H
3
3
/*
4
 
 * $Id: pa_util.h,v 1.2 2006/09/23 18:42:47 llucius Exp $
 
4
 * $Id: pa_util.h,v 1.5 2007/08/16 20:45:35 richardash1981 Exp $
5
5
 * Portable Audio I/O Library implementation utilities header
6
6
 * common implementation utilities and interfaces
7
7
 *
113
113
 
114
114
 
115
115
        
116
 
/** PA_DEBUG() provides a simple debug message printing facility. The macro
117
 
 passes it's argument to a printf-like function called PaUtil_DebugPrint()
118
 
 which prints to stderr and always flushes the stream after printing.
119
 
 Because preprocessor macros cannot directly accept variable length argument
120
 
 lists, calls to the macro must include an additional set of parenthesis, eg:
121
 
 PA_DEBUG(("errorno: %d", 1001 ));
122
 
*/
123
 
 
124
 
void PaUtil_DebugPrint( const char *format, ... );
125
 
 
126
 
#ifdef PA_ENABLE_DEBUG_OUTPUT
127
 
#define PA_DEBUG(x) PaUtil_DebugPrint x ;
128
 
#else
129
 
#define PA_DEBUG(x)
130
 
#endif
131
 
 
132
 
 
133
116
/* the following functions are implemented in a platform platform specific
134
117
 .c file
135
118
*/