Changeset 3058 for pjproject/trunk/pjmedia/src/pjmedia-audiodev/pa_dev.c
- Timestamp:
- Jan 13, 2010 4:28:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/pa_dev.c
r2740 r3058 31 31 #define DRIVER_NAME "PA" 32 32 33 /* Enable call to PaUtil_SetDebugPrintFunction, but this is not always 34 * available across all PortAudio versions (?) 35 */ 36 /*#define USE_PA_DEBUG_PRINT */ 37 33 38 struct pa_aud_factory 34 39 { … … 405 410 } 406 411 412 #ifdef USE_PA_DEBUG_PRINT 407 413 /* Logging callback from PA */ 408 414 static void pa_log_cb(const char *log) … … 416 422 typedef void (*PaUtilLogCallback ) (const char *log); 417 423 void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb); 424 #endif 418 425 419 426 … … 443 450 PJ_UNUSED_ARG(f); 444 451 452 #ifdef USE_PA_DEBUG_PRINT 445 453 PaUtil_SetDebugPrintFunction(&pa_log_cb); 454 #endif 446 455 447 456 err = Pa_Initialize();
Note: See TracChangeset
for help on using the changeset viewer.