summaryrefslogtreecommitdiffstats
path: root/polyp/core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-10-30 01:55:16 +0000
committerLennart Poettering <lennart@poettering.net>2004-10-30 01:55:16 +0000
commit899788b4c5e23af9dabfb98c5f864c2f933804f4 (patch)
treed31b7ae1a90099163e2bd4f6307e84141d49fb02 /polyp/core.c
parent4e5c44de30de40b80354820f8ac1738a9636515a (diff)
some updates for pa_hashmap
add property infrastructure add module module-x11-publish allow ldpreloading of all modules abstract x11wrap from module-x11-bell git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@268 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/core.c')
-rw-r--r--polyp/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/polyp/core.c b/polyp/core.c
index c53d2e4e..6e155dda 100644
--- a/polyp/core.c
+++ b/polyp/core.c
@@ -39,6 +39,7 @@
#include "autoload.h"
#include "xmalloc.h"
#include "subscribe.h"
+#include "props.h"
struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
struct pa_core* c;
@@ -82,6 +83,8 @@ struct pa_core* pa_core_new(struct pa_mainloop_api *m) {
c->scache_idle_time = 20;
c->resample_method = SRC_SINC_FASTEST;
+
+ pa_property_init(c);
pa_check_signal_is_blocked(SIGPIPE);
@@ -121,6 +124,8 @@ void pa_core_free(struct pa_core *c) {
pa_xfree(c->default_sink_name);
pa_memblock_stat_unref(c->memblock_stat);
+
+ pa_property_cleanup(c);
pa_xfree(c);
}