summaryrefslogtreecommitdiffstats
path: root/src/polyp
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-12 17:26:24 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-12 17:26:24 +0000
commit0fa56f9b6f87ac230591fdaae70f0390161ab8d8 (patch)
tree4d0c39ace0df7ca4cba440a61d35e9725d1aeab3 /src/polyp
parentd42794206db90b0a991c246d12afc409aafcafa5 (diff)
remove a bunch of log messages
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@688 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp')
-rw-r--r--src/polyp/stream.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/polyp/stream.c b/src/polyp/stream.c
index b3f19d09..fc8cc5cc 100644
--- a/src/polyp/stream.c
+++ b/src/polyp/stream.c
@@ -330,7 +330,7 @@ static void request_auto_timing_update(pa_stream *s, int force) {
static void invalidate_indexes(pa_stream *s, int r, int w) {
assert(s);
- pa_log("invalidate r:%u w:%u tag:%u", r, w, s->context->ctag);
+/* pa_log("invalidate r:%u w:%u tag:%u", r, w, s->context->ctag); */
if (s->state != PA_STREAM_READY)
return;
@@ -341,8 +341,7 @@ static void invalidate_indexes(pa_stream *s, int r, int w) {
if (s->timing_info_valid)
s->timing_info.write_index_corrupt = 1;
- pa_log("write_index invalidated");
-
+/* pa_log("write_index invalidated"); */
}
if (r) {
@@ -351,7 +350,7 @@ static void invalidate_indexes(pa_stream *s, int r, int w) {
if (s->timing_info_valid)
s->timing_info.read_index_corrupt = 1;
- pa_log("read_index invalidated");
+/* pa_log("read_index invalidated"); */
}
if ((s->direction == PA_STREAM_PLAYBACK && r) ||
@@ -364,7 +363,7 @@ static void invalidate_indexes(pa_stream *s, int r, int w) {
static void auto_timing_update_callback(pa_mainloop_api *m, pa_time_event *e, PA_GCC_UNUSED const struct timeval *tv, void *userdata) {
pa_stream *s = userdata;
- pa_log("time event");
+/* pa_log("time event"); */
pa_stream_ref(s);
request_auto_timing_update(s, 0);
@@ -725,13 +724,13 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
i = &o->stream->timing_info;
- pa_log("pre corrupt w:%u r:%u\n", !o->stream->timing_info_valid || i->write_index_corrupt,!o->stream->timing_info_valid || i->read_index_corrupt);
+/* pa_log("pre corrupt w:%u r:%u\n", !o->stream->timing_info_valid || i->write_index_corrupt,!o->stream->timing_info_valid || i->read_index_corrupt); */
o->stream->timing_info_valid = 0;
i->write_index_corrupt = 0;
i->read_index_corrupt = 0;
- pa_log("timing update %u\n", tag);
+/* pa_log("timing update %u\n", tag); */
if (command != PA_COMMAND_REPLY) {
if (pa_context_handle_error(o->context, command, t) < 0)
@@ -820,7 +819,7 @@ static void stream_get_timing_info_callback(pa_pdispatch *pd, uint32_t command,
}
o->stream->auto_timing_update_requested = 0;
- pa_log("post corrupt w:%u r:%u\n", i->write_index_corrupt || !o->stream->timing_info_valid, i->read_index_corrupt || !o->stream->timing_info_valid);
+/* pa_log("post corrupt w:%u r:%u\n", i->write_index_corrupt || !o->stream->timing_info_valid, i->read_index_corrupt || !o->stream->timing_info_valid); */
/* Clear old correction entries */
if (o->stream->direction == PA_STREAM_PLAYBACK) {
@@ -888,7 +887,7 @@ pa_operation* pa_stream_update_timing_info(pa_stream *s, pa_stream_success_cb_t
o->stream->write_index_corrections[cidx].corrupt = 0;
}
- pa_log("requesting update %u\n", tag);
+/* pa_log("requesting update %u\n", tag); */
return pa_operation_ref(o);
}