summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-06-10 15:26:02 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commitd126c05ba201b0fd6daabf7c03d05da3db1b2957 (patch)
tree4428701f6f1ccb21487fabf10f3f794f948fb42a
parentf8bc0b1decdd464e62e2a1497e3287ead96f40d0 (diff)
Fix PA_CORE_HOOK typos in tracker
Change-Id: I01733c90eb1098a10aaf85b5c47b96d464307bd1 Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r--tracker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker.c b/tracker.c
index 21ce02c..cb6369a 100644
--- a/tracker.c
+++ b/tracker.c
@@ -120,7 +120,7 @@ pa_tracker *pa_tracker_init (struct userdata *u)
PA_HOOK_LATE, card_put, u);
card->unlink = pa_hook_connect (hooks + PA_CORE_HOOK_CARD_UNLINK,
PA_HOOK_LATE, card_unlink, u);
- card->profchg = pa_hook_connect (hooks + PA_CORE_HOOK_CARD_UNLINK,
+ card->profchg = pa_hook_connect (hooks + PA_CORE_HOOK_CARD_PROFILE_CHANGED,
PA_HOOK_LATE, card_profile_changed, u);
/* port */
@@ -154,7 +154,7 @@ pa_tracker *pa_tracker_init (struct userdata *u)
/* source-output */
sout->neew = pa_hook_connect (hooks + PA_CORE_HOOK_SOURCE_OUTPUT_NEW,
PA_HOOK_EARLY, source_output_new, u);
- sout->put = pa_hook_connect (hooks + PA_CORE_HOOK_SOURCE_OUTPUT_UNLINK,
+ sout->put = pa_hook_connect (hooks + PA_CORE_HOOK_SOURCE_OUTPUT_PUT,
PA_HOOK_LATE, source_output_put, u);
sout->unlink = pa_hook_connect (hooks + PA_CORE_HOOK_SOURCE_OUTPUT_UNLINK,
PA_HOOK_LATE, source_output_unlink, u);