Changeset 15783 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Jan 4, 2009 7:39:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/pulseaudio.c
r12910 r15783 37 37 #include <stdio.h> 38 38 39 #define MAX_LOG_REL_ERRORS 128 40 39 41 /* 40 42 * We use a g_pMainLoop in a separate thread g_pContext. We have to call functions for … … 53 55 pa_stream *pStream; 54 56 int fOpSuccess; 57 unsigned cErrors; 55 58 } PulseVoice; 56 59 … … 371 374 if (cbAvail == (size_t)-1) 372 375 { 373 LogRel(("Pulse: Failed to determine the writable size: %s\n", 374 pa_strerror(pa_context_errno(g_pContext)))); 376 if (pulse->cErrors++ < MAX_LOG_REL_ERRORS) 377 LogRel(("Pulse: Failed to determine the writable size: %s\n", 378 pa_strerror(pa_context_errno(g_pContext)))); 375 379 return 0; 376 380 }
Note:
See TracChangeset
for help on using the changeset viewer.