diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-23 10:54:30 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-08-23 10:54:30 +0200 |
commit | d0dae04c2ae6e4219e0ebac205dd05fa7e9427cf (patch) | |
tree | 80c6fc84f56afedc4fb02a097ae3e464bd792828 /Alsa-Plugin/Alsa-Policy-Hook/README.md | |
parent | 606ccd2405a55eab4c909160c951c083bccd825d (diff) |
Format: remove blank space at EOL
Change-Id: I786ac8d5be68bdf09d5bb6c883959d6e1963c1fe
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'Alsa-Plugin/Alsa-Policy-Hook/README.md')
-rw-r--r-- | Alsa-Plugin/Alsa-Policy-Hook/README.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Alsa-Plugin/Alsa-Policy-Hook/README.md b/Alsa-Plugin/Alsa-Policy-Hook/README.md index 6a8e67e..20186db 100644 --- a/Alsa-Plugin/Alsa-Policy-Hook/README.md +++ b/Alsa-Plugin/Alsa-Policy-Hook/README.md @@ -7,7 +7,7 @@ Date : August-2017 Functionalities: - Execute a set of websocket RPC request again AGL binders to allow/deny access - - Keep websocket open in an idepandant thread on order to monitor event receive from AGL audio agent + - Keep websocket open in an idepandant thread on order to monitor event receive from AGL audio agent Installation - Alsaplugins are typically search in /usr/share/alsa-lib. Nevertheless a full path might be given @@ -23,7 +23,7 @@ Config # Define sharelib location and entry point # ----------------------------------------- pcm_hook_type.MyHookPlugin { - install "AlsaInstallHook" + install "AlsaInstallHook" lib "/home/fulup/Workspace/AGL-AppFW/audio-bindings-dev/build/Alsa-Plugin/Alsa-Hook-Callback/alsa_hook_cb.so" } @@ -42,12 +42,12 @@ pcm.MyNavigationHook { # Every Call should return OK in order PCM to open (default timeout 100ms) uri "ws://localhost:1234/api?token='audio-agent-token'" request { - # Request autorisation to write on navigation + # Request autorisation to write on navigation navigation-ctl { api "control" verb "dispatch" args "{'target':'navigation', 'args':{'device':'Jabra SOLEMATE v1.34.0'}}" - } + } # subscribe to Audio Agent Event map them to signal subscribe-evt { api "control" @@ -66,11 +66,11 @@ pcm.MyNavigationHook { ``` -NOTE: +NOTE: * Hook plugin is loaded by Alsa libasound within player context. It inherits client process attributes, as UID/GID or the SMACK label on AGL. This smack label is tested by AGL security framework when requested a call on the audio-agent binder. -As a result the call will only succeed it the permission attached the application in Cynara matches. +As a result the call will only succeed it the permission attached the application in Cynara matches. * Hook plugin keep a connection with the Audio-Agent until PCM is closed by the application. This connection allow the Audio-Agent to send events. eg: pause, quit, mute, ...
\ No newline at end of file |