mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
add subscription subsystem
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@112 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
fc618e9f31
commit
3d374e9f67
11 changed files with 236 additions and 2 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "scache.h"
|
||||
#include "autoload.h"
|
||||
#include "xmalloc.h"
|
||||
#include "subscribe.h"
|
||||
|
||||
struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
|
||||
struct pa_core* c;
|
||||
|
|
@ -63,6 +64,10 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
|
|||
|
||||
c->auto_unload_time = 20;
|
||||
c->auto_unload_event = NULL;
|
||||
|
||||
c->subscription_defer_event = NULL;
|
||||
c->subscription_event_queue = NULL;
|
||||
c->subscriptions = NULL;
|
||||
|
||||
pa_check_for_sigpipe();
|
||||
|
||||
|
|
@ -93,7 +98,8 @@ void pa_core_free(struct pa_core *c) {
|
|||
pa_namereg_free(c);
|
||||
pa_scache_free(c);
|
||||
pa_autoload_free(c);
|
||||
|
||||
pa_subscription_free_all(c);
|
||||
|
||||
pa_xfree(c->default_source_name);
|
||||
pa_xfree(c->default_sink_name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue