summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/todo1
-rw-r--r--src/polypcore/core-subscribe.c7
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/todo b/doc/todo
index e6ad0d5f..7f31f0cf 100644
--- a/doc/todo
+++ b/doc/todo
@@ -27,6 +27,7 @@ Post 0.8:
changes if you're modifying a sink/source since those might have a different
map.
- don't install .a files of modules
+- check utf8 validity of strings
Long term:
- pass meta info for hearing impaired
diff --git a/src/polypcore/core-subscribe.c b/src/polypcore/core-subscribe.c
index e2dd9ae3..fa6c0e50 100644
--- a/src/polypcore/core-subscribe.c
+++ b/src/polypcore/core-subscribe.c
@@ -118,7 +118,8 @@ void pa_subscription_free_all(pa_core *c) {
}
}
-/*static void dump_event(pa_subscription_event*e) {
+#if 0
+static void dump_event(pa_subscription_event*e) {
switch (e->type & PA_SUBSCRIPTION_EVENT_FACILITY_MASK) {
case PA_SUBSCRIPTION_EVENT_SINK:
pa_log(__FILE__": SINK_EVENT");
@@ -159,7 +160,8 @@ void pa_subscription_free_all(pa_core *c) {
}
pa_log(__FILE__": %u", e->index);
-}*/
+}
+#endif
/* Deferred callback for dispatching subscirption events */
static void defer_cb(pa_mainloop_api *m, pa_defer_event *de, void *userdata) {
@@ -169,7 +171,6 @@ static void defer_cb(pa_mainloop_api *m, pa_defer_event *de, void *userdata) {
c->mainloop->defer_enable(c->subscription_defer_event, 0);
-
/* Dispatch queued events */
if (c->subscription_event_queue) {