diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-10-27 17:44:20 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-10-27 17:44:20 +0200 |
commit | 57710ab4388dd386a8c60b6b007603f6e3fdd1d2 (patch) | |
tree | 21ad0ba898c9d8683c8814286c391d4c7e623133 /hook-plugin/README.md | |
parent | f9774538ec99c812b7effc3b77160608a343fce0 (diff) |
Reinstall tcp/ws plugin until Jose fix unix/ws socket version
Diffstat (limited to 'hook-plugin/README.md')
-rw-r--r-- | hook-plugin/README.md | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/hook-plugin/README.md b/hook-plugin/README.md index 4297498..3846e0b 100644 --- a/hook-plugin/README.md +++ b/hook-plugin/README.md @@ -54,7 +54,8 @@ pcm.Speakers { # ----------------------------------------------------- pcm_hook_type.CtlHookPlugin { install "AlsaInstallHook" - lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_cb.so" + lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_tcp.so" + #lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_unix.so" } @@ -71,26 +72,6 @@ pcm.MusicPCM { control.name "Playback Multimedia" } -pcm.NavPCM { - type softvol - - # Point Slave on HOOK for policies control - slave.pcm "Speakers" - - # name should match with HAL definition - control.name "Playback Navigation" -} - -pcm.UrgentPCM { - type softvol - - # Point Slave on HOOK for policies control - slave.pcm "Speakers" - - # name should match with HAL definition - control.name "Playback Emergency" -} - # ---------------------------------------------------- # Define one hooked PCM channel per Audio Roles # ---------------------------------------------------- @@ -106,13 +87,14 @@ pcm.Multimedia { verbose true # uri to audio-4a policy engine - ws-client="unix:/var/tmp/pol4a" + uri="ws://localhost:1234/api?token='audio-agent-token'" + #ws-client="unix:/var/tmp/pol4a" # api subcall to request a role controls { # Request authorisation to write on navigation navigation-ctl { - request "navigation-role" + request "multimedia-role" release "release-role" args "{'uid':'alsa-hook-navigation'}" } |