From f197109509d7de6d5791e7157d7de70c0ac8c1c8 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Sun, 5 Nov 2017 15:47:07 +0100 Subject: Many any error fatal in Synchronous mode --- alsa-hook/PolicyAlsaHook.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alsa-hook') 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; } -- cgit 1.2.3-korg