Changeset 1247
- Timestamp:
- May 3, 2007 2:44:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/pasound.c
r1041 r1247 190 190 } 191 191 192 /* Logging callback from PA */ 193 static void pa_log_cb(const char *log) 194 { 195 PJ_LOG(5,(THIS_FILE, "PA message: %s", log)); 196 } 197 198 /* We should include pa_debugprint.h for this, but the header 199 * is not available publicly. :( 200 */ 201 typedef void (*PaUtilLogCallback ) (const char *log); 202 void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb); 192 203 193 204 /* … … 198 209 if (++snd_init_count == 1) { 199 210 int err; 211 212 PaUtil_SetDebugPrintFunction(&pa_log_cb); 200 213 201 214 snd_mgr.factory = factory;
Note: See TracChangeset
for help on using the changeset viewer.