From 8520246a1b687e0234b3940419c21dd17f1cac84 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 14 Oct 2016 19:30:43 +0200 Subject: [PATCH] silence debug --- pinos/server/daemon.c | 6 +++--- spa/lib/control.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pinos/server/daemon.c b/pinos/server/daemon.c index 7727c05ad..e4ecd831e 100644 --- a/pinos/server/daemon.c +++ b/pinos/server/daemon.c @@ -949,8 +949,6 @@ poll_event (GIOChannel *source, PollData *data = user_data; SpaPollNotifyData d; - g_debug ("poll event %d", data->item.fds[0].fd); - d.user_data = data->item.user_data; d.fds = data->item.fds; d.fds[0].revents = condition; @@ -969,7 +967,6 @@ do_add_item (SpaPoll *poll, GSource *source; PollData data; - g_debug ("add main poll"); channel = g_io_channel_unix_new (item->fds[0].fd); source = g_io_create_watch (channel, G_IO_IN); g_io_channel_unref (channel); @@ -981,6 +978,8 @@ do_add_item (SpaPoll *poll, item->id = g_source_attach (source, g_main_context_get_thread_default ()); g_source_unref (source); + g_debug ("added main poll %d", item->id); + return SPA_RESULT_OK; } @@ -988,6 +987,7 @@ static SpaResult do_update_item (SpaPoll *poll, SpaPollItem *item) { + g_debug ("update main poll %d", item->id); return SPA_RESULT_OK; } diff --git a/spa/lib/control.c b/spa/lib/control.c index 8794f7a1b..dbdd1aa6a 100644 --- a/spa/lib/control.c +++ b/spa/lib/control.c @@ -28,7 +28,7 @@ #include #include -#if 1 +#if 0 #define SPA_DEBUG_CONTROL(format,args...) fprintf(stderr,format,##args) #else #define SPA_DEBUG_CONTROL(format,args...)