From 4ca8fd4015479fa758a789d137a693c30fec8cae Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Wed, 16 Aug 2017 10:49:51 +0200 Subject: Moved FileConfigScan to AudioCommon and Documentation --- Alsa-Plugin/Alsa-Policy-Hook/README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Alsa-Plugin/Alsa-Policy-Hook/README.md') diff --git a/Alsa-Plugin/Alsa-Policy-Hook/README.md b/Alsa-Plugin/Alsa-Policy-Hook/README.md index 537418d..e3f42fa 100644 --- a/Alsa-Plugin/Alsa-Policy-Hook/README.md +++ b/Alsa-Plugin/Alsa-Policy-Hook/README.md @@ -1,7 +1,7 @@ Alsa-Hook-Plugin Object: Provide a Hook on Alsa PCM to check permission again AGL Advance Audio Agent -Status: Working Proof of Concept +Status: Release Candidate Author: Fulup Ar Foll fulup@iot.bzh Date : August-2017 @@ -39,21 +39,21 @@ pcm.MyNavigationHook { uri "ws://localhost:1234/api?token='audio-agent-token'" request { # Request autorisation to write on navigation - RequestNavigation { + navigation-ctl { api "control" - verb "navigation" + verb "request" } - # subscribe to Audio Agent Event - SubscriveEvents { + # subscribe to Audio Agent Event map them to signal + subscribe-evt { api "control" verb "monitor" } - # force PCM stop after 10s - TestAutoStop { - api "control" - verb "event_test" - query "{'label':'stop', 'delay':10000}" - } + } + # map event reception to self generated signal + event { + pause 30 + resume 31 + stop 3 } } } -- cgit 1.2.3-korg