mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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
This commit is contained in:
parent
f8e5f47e23
commit
47d009afd6
4 changed files with 127 additions and 95 deletions
|
|
@ -74,8 +74,9 @@ pa_core* pa_core_new(pa_mainloop_api *m) {
|
|||
c->scache_auto_unload_event = NULL;
|
||||
|
||||
c->subscription_defer_event = NULL;
|
||||
c->subscription_event_queue = NULL;
|
||||
c->subscriptions = NULL;
|
||||
PA_LLIST_HEAD_INIT(pa_subscription, c->subscriptions);
|
||||
PA_LLIST_HEAD_INIT(pa_subscription_event, c->subscription_event_queue);
|
||||
c->subscription_event_last = NULL;
|
||||
|
||||
c->memblock_stat = pa_memblock_stat_new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue