summaryrefslogtreecommitdiffstats
path: root/alsa-hook
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-05 15:47:07 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-05 15:56:25 +0100
commitf197109509d7de6d5791e7157d7de70c0ac8c1c8 (patch)
tree40f3994916dbfd4d60c52bfe3a7b622d0feac29a /alsa-hook
parent0d27b111915ff9a59b4ff9e0a42b9fe4dd1010ea (diff)
Many any error fatal in Synchronous mode
Diffstat (limited to 'alsa-hook')
-rw-r--r--alsa-hook/PolicyAlsaHook.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/alsa-hook/PolicyAlsaHook.c b/alsa-hook/PolicyAlsaHook.c
index f686b4c..ffba74c 100644
--- a/alsa-hook/PolicyAlsaHook.c
+++ b/alsa-hook/PolicyAlsaHook.c
@@ -275,7 +275,7 @@ static int CallWithTimeout(afbClientT *afbClient, afbRequestT *afbRequest, int c
return 0;
OnErrorExit:
- fprintf(stderr, "LaunchCallRequest: Fail call %s//%s&%s", afbClient->uri, afbRequest->apiverb, json_object_get_string(afbRequest->queryJ));
+ fprintf(stderr, "LaunchCallRequest: Fail ws-client=%s query=%s&%s\n", afbClient->uri, afbRequest->apiverb, json_object_get_string(afbRequest->queryJ));
return 1;
}
@@ -369,7 +369,7 @@ static int AlsaCloseHook(snd_pcm_hook_t *hook) {
// launch call request and create a waiting mainloop thread
int err = LaunchCallRequest(afbClient, HOOK_CLOSE);
if (err < 0) {
- fprintf (stderr, "PCM Fail to Enter Mainloop\n");
+ fprintf (stderr, "Error on PCM Release Call\n");
goto OnErrorExit;
}
@@ -646,7 +646,7 @@ int PLUGIN_ENTRY_POINT (snd_pcm_t *pcm, snd_config_t *conf) {
// launch call request and create a waiting mainloop thread
err = LaunchCallRequest(afbClient, HOOK_INSTALL);
if (err < 0) {
- fprintf (stderr, "PCM Fail to Enter Mainloop\n");
+ fprintf (stderr, "PCM Fail to Get Authorisation\n");
goto OnErrorExit;
}