summaryrefslogtreecommitdiffstats
path: root/src/pulse
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/mainloop.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/pulse/mainloop.c b/src/pulse/mainloop.c
index 5aa72706..5ebb9bc8 100644
--- a/src/pulse/mainloop.c
+++ b/src/pulse/mainloop.c
@@ -957,46 +957,3 @@ void pa_mainloop_set_poll_func(pa_mainloop *m, pa_poll_func poll_func, void *use
m->poll_func = poll_func;
m->poll_func_userdata = userdata;
}
-
-
-#if 0
-void pa_mainloop_dump(pa_mainloop *m) {
- assert(m);
-
- pa_log(__FILE__": Dumping mainloop sources START");
-
- {
- uint32_t idx = PA_IDXSET_INVALID;
- pa_io_event *e;
- for (e = pa_idxset_first(m->io_events, &idx); e; e = pa_idxset_next(m->io_events, &idx)) {
- if (e->dead)
- continue;
-
- pa_log(__FILE__": kind=io fd=%i events=%i callback=%p userdata=%p", e->fd, (int) e->events, (void*) e->callback, (void*) e->userdata);
- }
- }
- {
- uint32_t idx = PA_IDXSET_INVALID;
- pa_defer_event *e;
- for (e = pa_idxset_first(m->defer_events, &idx); e; e = pa_idxset_next(m->defer_events, &idx)) {
- if (e->dead)
- continue;
-
- pa_log(__FILE__": kind=defer enabled=%i callback=%p userdata=%p", e->enabled, (void*) e->callback, (void*) e->userdata);
- }
- }
- {
- uint32_t idx = PA_IDXSET_INVALID;
- pa_time_event *e;
- for (e = pa_idxset_first(m->time_events, &idx); e; e = pa_idxset_next(m->time_events, &idx)) {
- if (e->dead)
- continue;
-
- pa_log(__FILE__": kind=time enabled=%i time=%lu.%lu callback=%p userdata=%p", e->enabled, (unsigned long) e->timeval.tv_sec, (unsigned long) e->timeval.tv_usec, (void*) e->callback, (void*) e->userdata);
- }
- }
-
- pa_log(__FILE__": Dumping mainloop sources STOP");
-
-}
-#endif