diff options
author | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-06-10 15:26:02 +0200 |
---|---|---|
committer | Yannick Gicquel <yannick.gicquel@iot.bzh> | 2016-10-11 17:09:07 +0200 |
commit | d126c05ba201b0fd6daabf7c03d05da3db1b2957 (patch) | |
tree | 4428701f6f1ccb21487fabf10f3f794f948fb42a | |
parent | f8bc0b1decdd464e62e2a1497e3287ead96f40d0 (diff) |
Fix PA_CORE_HOOK typos in tracker
Change-Id: I01733c90eb1098a10aaf85b5c47b96d464307bd1
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r-- | tracker.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |