summaryrefslogtreecommitdiffstats
path: root/plugins/audio
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-23 18:54:24 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-23 18:54:24 +0100
commit97cfff753ccb7e5739ebe53e43a5af29dc0f6577 (patch)
treea1708825d3a60114d78d711e97b40eae75f0a4c7 /plugins/audio
parent5d293eac235f2d59eccc9b23de803821b821c12e (diff)
Add plugin handle into request, pass it to free callback
We need the global handle in requests, and in the free function. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/audio')
-rw-r--r--plugins/audio/audio-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/audio/audio-api.c b/plugins/audio/audio-api.c
index 8671a879..1311b652 100644
--- a/plugins/audio/audio-api.c
+++ b/plugins/audio/audio-api.c
@@ -70,7 +70,7 @@ STATIC json_object* init (AFB_request *request) { /* AFB_SESSION_CREATE */
_alsa_init("default", ctx);
jresp = json_object_new_object();
- json_object_object_add (jresp, "info", json_object_new_string ("Radio initialised"));
+ json_object_object_add (jresp, "info", json_object_new_string ("Audio initialised"));
return (jresp);
}