mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
implement proper logging
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@179 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
57e473b61c
commit
6c4fd62040
50 changed files with 416 additions and 225 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "mainloop.h"
|
||||
#include "native-common.h"
|
||||
#include "xmalloc.h"
|
||||
#include "log.h"
|
||||
|
||||
struct pa_simple {
|
||||
struct pa_mainloop *mainloop;
|
||||
|
|
@ -204,7 +205,7 @@ static void read_callback(struct pa_stream *s, const void*data, size_t length, v
|
|||
assert(s && data && length && p);
|
||||
|
||||
if (p->read_data) {
|
||||
fprintf(stderr, __FILE__": Buffer overflow, dropping incoming memory blocks.\n");
|
||||
pa_log(__FILE__": Buffer overflow, dropping incoming memory blocks.\n");
|
||||
pa_xfree(p->read_data);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue