summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-13 17:33:32 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-13 17:33:32 +0000
commit818083289882e8739bbfaefd1edb252ed5629771 (patch)
treeaaffbae489ea2b91bfacd67126c2bb8dcd13b605 /src/pulsecore/core.c
parent87e64d58454f73bfa1e979b0fedfea7e0827d845 (diff)
properly implement a pa_sink_disconnect() hook
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1243 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/core.c')
-rw-r--r--src/pulsecore/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/core.c b/src/pulsecore/core.c
index 24f835f7..50d79fbf 100644
--- a/src/pulsecore/core.c
+++ b/src/pulsecore/core.c
@@ -93,7 +93,7 @@ pa_core* pa_core_new(pa_mainloop_api *m) {
c->is_system_instance = 0;
pa_hook_init(&c->hook_sink_input_new, c);
- pa_hook_init(&c->hook_sink_input_disconnect, c);
+ pa_hook_init(&c->hook_sink_disconnect, c);
pa_property_init(c);
@@ -142,7 +142,7 @@ void pa_core_free(pa_core *c) {
pa_property_cleanup(c);
pa_hook_free(&c->hook_sink_input_new);
- pa_hook_free(&c->hook_sink_input_disconnect);
+ pa_hook_free(&c->hook_sink_disconnect);
pa_xfree(c);
}