[pulseaudio-commits] r1155 - /trunk/src/pulse/mainloop.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Thu Jul 27 09:49:45 PDT 2006


Author: lennart
Date: Thu Jul 27 18:49:44 2006
New Revision: 1155

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1155&root=pulseaudio&view=rev
Log:
remove superfluous code

Modified:
    trunk/src/pulse/mainloop.c

Modified: trunk/src/pulse/mainloop.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/mainloop.c?rev=1155&root=pulseaudio&r1=1154&r2=1155&view=diff
==============================================================================
--- trunk/src/pulse/mainloop.c (original)
+++ trunk/src/pulse/mainloop.c Thu Jul 27 18:49:44 2006
@@ -957,46 +957,3 @@
     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 




More information about the pulseaudio-commits mailing list