From eac54aceceb2b465340fb6beb4ef635cb46d8237 Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Thu, 2 Nov 2017 23:19:30 +0100 Subject: Fix double Close --- alsa-hook/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'alsa-hook') diff --git a/alsa-hook/README.md b/alsa-hook/README.md index a51ec19..f6cc9a3 100644 --- a/alsa-hook/README.md +++ b/alsa-hook/README.md @@ -128,7 +128,7 @@ pcm.Multimedia { verbose true # uri to audio-4a policy engine - uri="unix:/var/tmp/pol4a" + uri="unix:/var/tmp/ahl-4a" # timeout in ms (default 500) timeout 5000 @@ -138,20 +138,20 @@ pcm.Multimedia { # api subcall to request a role request { - multimedia-role "{'uid':'alsa-hook-client'}" - signal-timeout "{'timeout':180, 'music':'quit'}" + open_stream "{'role': 'entertainment'}" + set-stream "{'role': 'entertainment'}" } # api subcall to request a role release { - release-role "{'uid':'alsa-hook-client'}" + close-stream "{'role': 'entertainment'}" } # map AGL event on Unix signal. Search in event for json key=value events { - sig-02 {search music, value quit} - sig-31 {search event, value start} - sig-32 {search event, value start} + sig-02 {search state_event, value 1} + sig-31 {search state_event, value 2} + sig-32 {search state_event, value 3} } } } -- cgit 1.2.3-korg