From 47d009afd69612aa97fd368fd481734f1c52909a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 12 Aug 2006 02:18:24 +0000 Subject: rework subscription code: try to drop redundant queued events git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1211 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/core.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/pulsecore/core.h') diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h index 61f17432..391ba9b8 100644 --- a/src/pulsecore/core.h +++ b/src/pulsecore/core.h @@ -24,14 +24,15 @@ typedef struct pa_core pa_core; -#include -#include #include #include +#include +#include #include #include #include #include +#include /* The core structure of PulseAudio. Every PulseAudio daemon contains * exactly one of these. It is used for storing kind of global @@ -58,8 +59,9 @@ struct pa_core { pa_defer_event *module_defer_unload_event; pa_defer_event *subscription_defer_event; - pa_queue *subscription_event_queue; - pa_subscription *subscriptions; + PA_LLIST_HEAD(pa_subscription, subscriptions); + PA_LLIST_HEAD(pa_subscription_event, subscription_event_queue); + pa_subscription_event *subscription_event_last; pa_memblock_stat *memblock_stat; -- cgit